pub struct Facts<'a> {
pub revision: u64,
pub pending: Option<PendingFacts<'a>>,
pub last_change: Option<LastFacts<'a>>,
pub persist: bool,
pub in_flight: bool,
}Expand description
What a validator needs of the owner’s state.
Fields§
§revision: u64The revision.
pending: Option<PendingFacts<'a>>The pending change, if any.
last_change: Option<LastFacts<'a>>The last change, if any.
persist: boolWhether the owner has a persisted layer.
in_flight: boolWhether an act is in flight.
Trait Implementations§
impl<'a> Copy for Facts<'a>
Auto Trait Implementations§
impl<'a> Forget for Facts<'a>
impl<'a> Freeze for Facts<'a>
impl<'a> Move for Facts<'a>
impl<'a> RefUnwindSafe for Facts<'a>
impl<'a> Send for Facts<'a>
impl<'a> Sync for Facts<'a>
impl<'a> Unpin for Facts<'a>
impl<'a> UnsafeUnpin for Facts<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Facts<'a>where
&'a str: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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