pub struct NodeConfigLink {
pub node_type: &'static str,
pub config: StaticNodeConfig,
}Expand description
One class of a config chain (iterStaticNodeConfigChain’s
{klass, ownNodeType, ownNodeConfig}).
Fields§
§node_type: &'static str§config: StaticNodeConfigImplementations§
Source§impl NodeConfigLink
impl NodeConfigLink
pub fn new(node_type: &'static str, config: StaticNodeConfig) -> Self
Trait Implementations§
Source§impl Clone for NodeConfigLink
impl Clone for NodeConfigLink
Auto Trait Implementations§
impl !RefUnwindSafe for NodeConfigLink
impl !Send for NodeConfigLink
impl !Sync for NodeConfigLink
impl !UnwindSafe for NodeConfigLink
impl Forget for NodeConfigLink
impl Freeze for NodeConfigLink
impl Move for NodeConfigLink
impl Unpin for NodeConfigLink
impl UnsafeUnpin for NodeConfigLink
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