pub struct NodeInfo {
pub attributes: Option<NodeAttributes2>,
}
Expand description
Information that describes the target node.
Fields§
§attributes: Option<NodeAttributes2>
Trait Implementations§
Source§impl Encodable for NodeInfo
impl Encodable for NodeInfo
Source§type Encoded = WireNodeInfo
type Encoded = WireNodeInfo
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 TakeFrom<WireNodeInfo> for NodeInfo
impl TakeFrom<WireNodeInfo> for NodeInfo
Source§fn take_from(from: &WireNodeInfo) -> Self
fn take_from(from: &WireNodeInfo) -> 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 NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnwindSafe for NodeInfo
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