pub struct CurrentNode {
pub transport_address: String,
pub attributes: Value,
pub name: String,
pub id: String,
pub weight_ranking: u32,
}Fields§
§transport_address: String§attributes: Value§name: String§id: String§weight_ranking: u32Implementations§
Trait Implementations§
Source§impl Clone for CurrentNode
impl Clone for CurrentNode
Source§fn clone(&self) -> CurrentNode
fn clone(&self) -> CurrentNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CurrentNode
impl Debug for CurrentNode
Source§impl Default for CurrentNode
impl Default for CurrentNode
Source§fn default() -> CurrentNode
fn default() -> CurrentNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CurrentNode
impl<'de> Deserialize<'de> for CurrentNode
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 PartialEq for CurrentNode
impl PartialEq for CurrentNode
Source§fn eq(&self, other: &CurrentNode) -> bool
fn eq(&self, other: &CurrentNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CurrentNode
impl Serialize for CurrentNode
impl StructuralPartialEq for CurrentNode
Auto Trait Implementations§
impl Freeze for CurrentNode
impl RefUnwindSafe for CurrentNode
impl Send for CurrentNode
impl Sync for CurrentNode
impl Unpin for CurrentNode
impl UnsafeUnpin for CurrentNode
impl UnwindSafe for CurrentNode
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