pub struct ListablePeer {
pub node_id: NodeId,
pub is_self: bool,
pub services: Vec<String>,
}
Expand description
A type that can be converted into a super::Peer
Fields§
§node_id: NodeId
Node ID of this peer.
is_self: bool
Whether this peer is the node producing the list.
services: Vec<String>
Services offered by this peer.
Trait Implementations§
Source§impl Clone for ListablePeer
impl Clone for ListablePeer
Source§fn clone(&self) -> ListablePeer
fn clone(&self) -> ListablePeer
Returns a copy 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 ListablePeer
impl Debug for ListablePeer
Source§impl PartialEq for ListablePeer
impl PartialEq for ListablePeer
impl StructuralPartialEq for ListablePeer
Auto Trait Implementations§
impl Freeze for ListablePeer
impl RefUnwindSafe for ListablePeer
impl Send for ListablePeer
impl Sync for ListablePeer
impl Unpin for ListablePeer
impl UnwindSafe for ListablePeer
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
)