pub struct NodeSpec {
pub node: NodeId,
pub active: bool,
}Expand description
One registered node for LifecycleGraph::try_from_topology.
Fields§
§node: NodeIdThe node identifier.
active: boolWhether the node is active.
Trait Implementations§
impl Copy for NodeSpec
impl Eq for NodeSpec
impl StructuralPartialEq for NodeSpec
Auto Trait Implementations§
impl Forget for NodeSpec
impl Freeze for NodeSpec
impl Move for NodeSpec
impl RefUnwindSafe for NodeSpec
impl Send for NodeSpec
impl Sync for NodeSpec
impl Unpin for NodeSpec
impl UnsafeUnpin for NodeSpec
impl UnwindSafe for NodeSpec
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