pub struct LegacyNodeInfo<'a> { /* private fields */ }Expand description
Node legacy metadata about a server running in the federation, only used for deserialization.
Trait Implementations§
Source§impl<'a> Debug for LegacyNodeInfo<'a>
impl<'a> Debug for LegacyNodeInfo<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for LegacyNodeInfo<'a>
impl<'de: 'a, 'a> Deserialize<'de> for LegacyNodeInfo<'a>
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
Source§impl<'a> From<LegacyNodeInfo<'a>> for NodeInfo<'a>
impl<'a> From<LegacyNodeInfo<'a>> for NodeInfo<'a>
Source§fn from(other: LegacyNodeInfo<'a>) -> Self
fn from(other: LegacyNodeInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<LegacyNodeInfo<'a>> for NodeInfoOwned
impl<'a> From<LegacyNodeInfo<'a>> for NodeInfoOwned
Source§fn from(value: LegacyNodeInfo<'a>) -> Self
fn from(value: LegacyNodeInfo<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for LegacyNodeInfo<'a>
impl<'a> PartialEq for LegacyNodeInfo<'a>
impl<'a> StructuralPartialEq for LegacyNodeInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for LegacyNodeInfo<'a>
impl<'a> RefUnwindSafe for LegacyNodeInfo<'a>
impl<'a> Send for LegacyNodeInfo<'a>
impl<'a> Sync for LegacyNodeInfo<'a>
impl<'a> Unpin for LegacyNodeInfo<'a>
impl<'a> UnwindSafe for LegacyNodeInfo<'a>
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