pub struct TConfigNodeLocation {
pub config_node_id: i32,
pub internal_end_point: TEndPoint,
pub consensus_end_point: TEndPoint,
}
Fields§
§config_node_id: i32
§internal_end_point: TEndPoint
§consensus_end_point: TEndPoint
Implementations§
Source§impl TConfigNodeLocation
impl TConfigNodeLocation
pub fn new( config_node_id: i32, internal_end_point: TEndPoint, consensus_end_point: TEndPoint, ) -> TConfigNodeLocation
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<TConfigNodeLocation>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for TConfigNodeLocation
impl Clone for TConfigNodeLocation
Source§fn clone(&self) -> TConfigNodeLocation
fn clone(&self) -> TConfigNodeLocation
Returns a copy 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 TConfigNodeLocation
impl Debug for TConfigNodeLocation
Source§impl Hash for TConfigNodeLocation
impl Hash for TConfigNodeLocation
Source§impl Ord for TConfigNodeLocation
impl Ord for TConfigNodeLocation
Source§fn cmp(&self, other: &TConfigNodeLocation) -> Ordering
fn cmp(&self, other: &TConfigNodeLocation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TConfigNodeLocation
impl PartialEq for TConfigNodeLocation
Source§impl PartialOrd for TConfigNodeLocation
impl PartialOrd for TConfigNodeLocation
impl Eq for TConfigNodeLocation
impl StructuralPartialEq for TConfigNodeLocation
Auto Trait Implementations§
impl Freeze for TConfigNodeLocation
impl RefUnwindSafe for TConfigNodeLocation
impl Send for TConfigNodeLocation
impl Sync for TConfigNodeLocation
impl Unpin for TConfigNodeLocation
impl UnwindSafe for TConfigNodeLocation
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