pub struct AdoptedSettings {
pub json: Option<String>,
pub publish: bool,
pub stale: bool,
}Expand description
The outcome of taking a relay copy of the settings document.
Fields§
§json: Option<String>The document now held, when the copy changed it.
publish: boolThis device holds a change the relays have not seen.
stale: boolThe copy is older than one this device already adopted or published, so it was ignored.
Trait Implementations§
Source§impl Clone for AdoptedSettings
impl Clone for AdoptedSettings
Source§impl Debug for AdoptedSettings
impl Debug for AdoptedSettings
Source§impl PartialEq for AdoptedSettings
impl PartialEq for AdoptedSettings
impl StructuralPartialEq for AdoptedSettings
Auto Trait Implementations§
impl Forget for AdoptedSettings
impl Freeze for AdoptedSettings
impl Move for AdoptedSettings
impl RefUnwindSafe for AdoptedSettings
impl Send for AdoptedSettings
impl Sync for AdoptedSettings
impl Unpin for AdoptedSettings
impl UnsafeUnpin for AdoptedSettings
impl UnwindSafe for AdoptedSettings
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<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