pub struct NeighborId(pub String);Expand description
Neighbor identifier.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for NeighborId
impl Clone for NeighborId
Source§fn clone(&self) -> NeighborId
fn clone(&self) -> NeighborId
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 NeighborId
impl Debug for NeighborId
Source§impl<'de> Deserialize<'de> for NeighborId
impl<'de> Deserialize<'de> for NeighborId
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 Display for NeighborId
impl Display for NeighborId
Source§impl Hash for NeighborId
impl Hash for NeighborId
Source§impl PartialEq for NeighborId
impl PartialEq for NeighborId
Source§impl Serialize for NeighborId
impl Serialize for NeighborId
impl Eq for NeighborId
impl StructuralPartialEq for NeighborId
Auto Trait Implementations§
impl Freeze for NeighborId
impl RefUnwindSafe for NeighborId
impl Send for NeighborId
impl Sync for NeighborId
impl Unpin for NeighborId
impl UnsafeUnpin for NeighborId
impl UnwindSafe for NeighborId
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