pub struct NodeEndpoint {
pub node_id: i32,
pub host: String,
pub port: i32,
pub rack: Option<String>,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§node_id: i32§host: String§port: i32§rack: Option<String>§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for NodeEndpoint
impl Clone for NodeEndpoint
Source§fn clone(&self) -> NodeEndpoint
fn clone(&self) -> NodeEndpoint
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 NodeEndpoint
impl Debug for NodeEndpoint
Source§impl Decode<'_> for NodeEndpoint
impl Decode<'_> for NodeEndpoint
Source§impl Default for NodeEndpoint
impl Default for NodeEndpoint
Source§fn default() -> NodeEndpoint
fn default() -> NodeEndpoint
Returns the “default value” for a type. Read more
Source§impl Encode for NodeEndpoint
impl Encode for NodeEndpoint
impl Eq for NodeEndpoint
Source§impl PartialEq for NodeEndpoint
impl PartialEq for NodeEndpoint
Source§fn eq(&self, other: &NodeEndpoint) -> bool
fn eq(&self, other: &NodeEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeEndpoint
Auto Trait Implementations§
impl Freeze for NodeEndpoint
impl RefUnwindSafe for NodeEndpoint
impl Send for NodeEndpoint
impl Sync for NodeEndpoint
impl Unpin for NodeEndpoint
impl UnsafeUnpin for NodeEndpoint
impl UnwindSafe for NodeEndpoint
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