pub struct AddressChange {
pub old_hostname: Arc<str>,
pub new_hostname: Arc<str>,
pub old_address: NodeAddress,
pub new_address: NodeAddress,
pub reason: AddressChangeReason,
}Fields§
§old_hostname: Arc<str>§new_hostname: Arc<str>§old_address: NodeAddress§new_address: NodeAddress§reason: AddressChangeReasonTrait Implementations§
Source§impl Clone for AddressChange
impl Clone for AddressChange
Source§fn clone(&self) -> AddressChange
fn clone(&self) -> AddressChange
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 AddressChange
impl Debug for AddressChange
impl Eq for AddressChange
Source§impl PartialEq for AddressChange
impl PartialEq for AddressChange
Source§fn eq(&self, other: &AddressChange) -> bool
fn eq(&self, other: &AddressChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressChange
Auto Trait Implementations§
impl Freeze for AddressChange
impl RefUnwindSafe for AddressChange
impl Send for AddressChange
impl Sync for AddressChange
impl Unpin for AddressChange
impl UnsafeUnpin for AddressChange
impl UnwindSafe for AddressChange
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