pub struct AddressLookupUpsert {
pub node_id: String,
pub effective_addrs: Vec<String>,
pub replaced: Option<AddressLookupRemoval>,
}Expand description
Effective state changes produced by a successful contribution upsert.
Fields§
§node_id: StringCanonical lowercase-base32 node id of the inserted contribution.
effective_addrs: Vec<String>This browse source’s effective address union for the newly advertised node after the update.
replaced: Option<AddressLookupRemoval>Transition for the previously advertised node when this service
instance changed endpoint identity. This is None for a new instance
or an update that retains the same parsed endpoint id.
Trait Implementations§
Source§impl Clone for AddressLookupUpsert
impl Clone for AddressLookupUpsert
Source§fn clone(&self) -> AddressLookupUpsert
fn clone(&self) -> AddressLookupUpsert
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 AddressLookupUpsert
impl Debug for AddressLookupUpsert
impl Eq for AddressLookupUpsert
Source§impl PartialEq for AddressLookupUpsert
impl PartialEq for AddressLookupUpsert
impl StructuralPartialEq for AddressLookupUpsert
Auto Trait Implementations§
impl Freeze for AddressLookupUpsert
impl RefUnwindSafe for AddressLookupUpsert
impl Send for AddressLookupUpsert
impl Sync for AddressLookupUpsert
impl Unpin for AddressLookupUpsert
impl UnsafeUnpin for AddressLookupUpsert
impl UnwindSafe for AddressLookupUpsert
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more