pub struct NodeAddArgs {
pub name: Option<String>,
pub offers: Option<Vec<Offer>>,
pub symbols: Option<Vec<NodeSymbol>>,
pub properties: Option<Vec<NodeProperty>>,
pub devfs_args: Option<DevfsAddArgs>,
pub offers2: Option<Vec<Offer>>,
pub bus_info: Option<BusInfo>,
pub properties2: Option<Vec<NodeProperty2>>,
}
Expand description
Arguments for adding a node.
Fields§
§name: Option<String>
§offers: Option<Vec<Offer>>
§symbols: Option<Vec<NodeSymbol>>
§properties: Option<Vec<NodeProperty>>
§devfs_args: Option<DevfsAddArgs>
§offers2: Option<Vec<Offer>>
§bus_info: Option<BusInfo>
§properties2: Option<Vec<NodeProperty2>>
Trait Implementations§
Source§impl Debug for NodeAddArgs
impl Debug for NodeAddArgs
Source§impl Default for NodeAddArgs
impl Default for NodeAddArgs
Source§fn default() -> NodeAddArgs
fn default() -> NodeAddArgs
Returns the “default value” for a type. Read more
Source§impl Encodable for NodeAddArgs
impl Encodable for NodeAddArgs
Source§type Encoded = WireNodeAddArgs
type Encoded = WireNodeAddArgs
The wire type for the value.
§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
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for NodeAddArgswhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for NodeAddArgswhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireNodeAddArgs> for NodeAddArgs
impl TakeFrom<WireNodeAddArgs> for NodeAddArgs
Source§fn take_from(from: &WireNodeAddArgs) -> Self
fn take_from(from: &WireNodeAddArgs) -> 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 NodeAddArgs
impl RefUnwindSafe for NodeAddArgs
impl Send for NodeAddArgs
impl Sync for NodeAddArgs
impl Unpin for NodeAddArgs
impl UnwindSafe for NodeAddArgs
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