pub struct Child {
pub name: Option<String>,
pub url: Option<String>,
pub startup: Option<StartupMode>,
pub environment: Option<String>,
pub on_terminate: Option<OnTerminate>,
pub config_overrides: Option<Vec<ConfigOverride>>,
}
Expand description
Statically declares a child component instance.
Fields§
§name: Option<String>
§url: Option<String>
§startup: Option<StartupMode>
§environment: Option<String>
§on_terminate: Option<OnTerminate>
§config_overrides: Option<Vec<ConfigOverride>>
Trait Implementations§
Source§impl TakeFrom<WireChild> for Child
impl TakeFrom<WireChild> for Child
Source§fn take_from(from: &WireChild) -> Self
fn take_from(from: &WireChild) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for Child
impl RefUnwindSafe for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl UnwindSafe for Child
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more