pub struct NodeServices {
pub node: Node,
pub services: HashMap<String, NodeService>,
}
Expand description
NodeServices represents services provided by Node. Services is a map of service IDs to services.
Fields§
§node: Node
§services: HashMap<String, NodeService>
Trait Implementations§
Source§impl Clone for NodeServices
impl Clone for NodeServices
Source§fn clone(&self) -> NodeServices
fn clone(&self) -> NodeServices
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 NodeServices
impl Debug for NodeServices
Source§impl Default for NodeServices
impl Default for NodeServices
Source§fn default() -> NodeServices
fn default() -> NodeServices
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeServices
impl<'de> Deserialize<'de> for NodeServices
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeServices
impl RefUnwindSafe for NodeServices
impl Send for NodeServices
impl Sync for NodeServices
impl Unpin for NodeServices
impl UnwindSafe for NodeServices
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