pub struct CompositeNodeSpec {
pub name: Option<String>,
pub parents: Option<Vec<ParentSpec>>,
pub parents2: Option<Vec<ParentSpec2>>,
}
Expand description
Struct that represents a composite node specification.
Fields§
§name: Option<String>
§parents: Option<Vec<ParentSpec>>
§parents2: Option<Vec<ParentSpec2>>
Trait Implementations§
Source§impl Clone for CompositeNodeSpec
impl Clone for CompositeNodeSpec
Source§fn clone(&self) -> CompositeNodeSpec
fn clone(&self) -> CompositeNodeSpec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompositeNodeSpec
impl Debug for CompositeNodeSpec
Source§impl Default for CompositeNodeSpec
impl Default for CompositeNodeSpec
Source§fn default() -> CompositeNodeSpec
fn default() -> CompositeNodeSpec
Returns the “default value” for a type. Read more
Source§impl Encodable for CompositeNodeSpec
impl Encodable for CompositeNodeSpec
Source§type Encoded = WireCompositeNodeSpec
type Encoded = WireCompositeNodeSpec
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 CompositeNodeSpecwhere
___E: Encoder + ?Sized,
impl<___E> Encode<___E> for CompositeNodeSpecwhere
___E: Encoder + ?Sized,
Source§impl TakeFrom<WireCompositeNodeSpec> for CompositeNodeSpec
impl TakeFrom<WireCompositeNodeSpec> for CompositeNodeSpec
Source§fn take_from(from: &WireCompositeNodeSpec) -> Self
fn take_from(from: &WireCompositeNodeSpec) -> 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 CompositeNodeSpec
impl RefUnwindSafe for CompositeNodeSpec
impl Send for CompositeNodeSpec
impl Sync for CompositeNodeSpec
impl Unpin for CompositeNodeSpec
impl UnwindSafe for CompositeNodeSpec
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