Struct bollard_stubs::models::PeerNode
source · pub struct PeerNode {
pub node_id: Option<String>,
pub addr: Option<String>,
}
Expand description
Represents a peer-node in the swarm
Fields§
§node_id: Option<String>
Unique identifier of for this node in the swarm.
addr: Option<String>
IP address and ports at which this node can be reached.
Trait Implementations§
source§impl<'de> Deserialize<'de> for PeerNode
impl<'de> Deserialize<'de> for PeerNode
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 PeerNode
Auto Trait Implementations§
impl Freeze for PeerNode
impl RefUnwindSafe for PeerNode
impl Send for PeerNode
impl Sync for PeerNode
impl Unpin for PeerNode
impl UnwindSafe for PeerNode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)