pub struct NodeAddArgs {
pub name: Option<String>,
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>
§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<'static>
type Encoded = WireNodeAddArgs<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl<___E> Encode<___E> for NodeAddArgswhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for NodeAddArgswhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl<'de> FromWire<WireNodeAddArgs<'de>> for NodeAddArgs
impl<'de> FromWire<WireNodeAddArgs<'de>> for NodeAddArgs
Source§fn from_wire(wire: WireNodeAddArgs<'de>) -> Self
fn from_wire(wire: WireNodeAddArgs<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Auto 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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.