pub struct FetchNodeEndpointV16 {
pub node_id: i32,
pub host: String,
pub port: i32,
pub rack: Option<String>,
}Expand description
A current-leader endpoint advertised by Fetch response v16 and newer.
Fields§
§node_id: i32§host: String§port: i32§rack: Option<String>Trait Implementations§
Source§impl Clone for FetchNodeEndpointV16
impl Clone for FetchNodeEndpointV16
Source§fn clone(&self) -> FetchNodeEndpointV16
fn clone(&self) -> FetchNodeEndpointV16
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 FetchNodeEndpointV16
impl Debug for FetchNodeEndpointV16
impl Eq for FetchNodeEndpointV16
Source§impl PartialEq for FetchNodeEndpointV16
impl PartialEq for FetchNodeEndpointV16
impl StructuralPartialEq for FetchNodeEndpointV16
Auto Trait Implementations§
impl Freeze for FetchNodeEndpointV16
impl RefUnwindSafe for FetchNodeEndpointV16
impl Send for FetchNodeEndpointV16
impl Sync for FetchNodeEndpointV16
impl Unpin for FetchNodeEndpointV16
impl UnsafeUnpin for FetchNodeEndpointV16
impl UnwindSafe for FetchNodeEndpointV16
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