pub struct InboundReconcile {
pub adopt: Vec<String>,
pub revive: Vec<String>,
pub retire: Vec<String>,
}Expand description
Local actions needed to make the in-app relay list mirror a newer remote 10050 (the Relays tab IS the DM Relay List, synced across devices/apps).
Fields§
§adopt: Vec<String>Remote entries unknown locally: add as enabled relays.
revive: Vec<String>Locally-disabled entries a newer remote (re-)lists: re-enable.
retire: Vec<String>Entries we previously published that a newer remote dropped: another client removed them, disable locally.
Trait Implementations§
Source§impl Debug for InboundReconcile
impl Debug for InboundReconcile
Source§impl Default for InboundReconcile
impl Default for InboundReconcile
Source§fn default() -> InboundReconcile
fn default() -> InboundReconcile
Returns the “default value” for a type. Read more
Source§impl PartialEq for InboundReconcile
impl PartialEq for InboundReconcile
impl StructuralPartialEq for InboundReconcile
Auto Trait Implementations§
impl Freeze for InboundReconcile
impl RefUnwindSafe for InboundReconcile
impl Send for InboundReconcile
impl Sync for InboundReconcile
impl Unpin for InboundReconcile
impl UnsafeUnpin for InboundReconcile
impl UnwindSafe for InboundReconcile
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> 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