pub struct GraphNodeOpts {
pub name: Option<String>,
pub meta: BTreeMap<String, String>,
pub node: NodeOpts,
pub restore: Option<RestoreFactoryMeta>,
}Expand description
Graph-layer node options: naming/metadata live here, behavioral knobs are
threaded through to the substrate NodeOpts.
Fields§
§name: Option<String>name field for name.
meta: BTreeMap<String, String>meta field for meta.
node: NodeOptsnode field for node.
restore: Option<RestoreFactoryMeta>restore field for restore.
Implementations§
Trait Implementations§
Source§impl Clone for GraphNodeOpts
impl Clone for GraphNodeOpts
Source§fn clone(&self) -> GraphNodeOpts
fn clone(&self) -> GraphNodeOpts
Returns a duplicate 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 GraphNodeOpts
impl Debug for GraphNodeOpts
Source§impl Default for GraphNodeOpts
impl Default for GraphNodeOpts
Source§fn default() -> GraphNodeOpts
fn default() -> GraphNodeOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphNodeOpts
impl !RefUnwindSafe for GraphNodeOpts
impl !Send for GraphNodeOpts
impl !Sync for GraphNodeOpts
impl Unpin for GraphNodeOpts
impl UnsafeUnpin for GraphNodeOpts
impl !UnwindSafe for GraphNodeOpts
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