pub struct NodeAttributes {
pub id: Option<String>,
pub ephemeral_id: String,
pub roles: Option<Vec<NodeRole>>,
pub transport_address: String,
pub attributes: Value,
pub external_id: Option<String>,
pub name: String,
}Fields§
§id: Option<String>§ephemeral_id: String§roles: Option<Vec<NodeRole>>Node roles.
transport_address: String§attributes: ValueLists node attributes.
external_id: Option<String>§name: StringImplementations§
Trait Implementations§
Source§impl Clone for NodeAttributes
impl Clone for NodeAttributes
Source§fn clone(&self) -> NodeAttributes
fn clone(&self) -> NodeAttributes
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 NodeAttributes
impl Debug for NodeAttributes
Source§impl Default for NodeAttributes
impl Default for NodeAttributes
Source§fn default() -> NodeAttributes
fn default() -> NodeAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeAttributes
impl<'de> Deserialize<'de> for NodeAttributes
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 NodeAttributes
impl PartialEq for NodeAttributes
Source§fn eq(&self, other: &NodeAttributes) -> bool
fn eq(&self, other: &NodeAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeAttributes
impl Serialize for NodeAttributes
impl StructuralPartialEq for NodeAttributes
Auto Trait Implementations§
impl Freeze for NodeAttributes
impl RefUnwindSafe for NodeAttributes
impl Send for NodeAttributes
impl Sync for NodeAttributes
impl Unpin for NodeAttributes
impl UnsafeUnpin for NodeAttributes
impl UnwindSafe for NodeAttributes
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