pub struct NodeInfo {
pub metadata: Option<Value>,
pub open_registrations: Option<bool>,
pub protocols: Option<Vec<String>>,
pub services: Option<Box<NodeInfoServices>>,
pub software: Option<Box<NodeInfoSoftware>>,
pub usage: Option<Box<NodeInfoUsage>>,
pub version: Option<String>,
}
Expand description
NodeInfo : NodeInfo contains standardized way of exposing metadata about a server running one of the distributed social networks
Fields§
§metadata: Option<Value>
§open_registrations: Option<bool>
§protocols: Option<Vec<String>>
§services: Option<Box<NodeInfoServices>>
§software: Option<Box<NodeInfoSoftware>>
§usage: Option<Box<NodeInfoUsage>>
§version: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeInfo
impl<'de> Deserialize<'de> for NodeInfo
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
impl StructuralPartialEq for NodeInfo
Auto 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