pub struct PersistedState {
pub version: u32,
pub round: u32,
pub next_actor: String,
pub status: Status,
pub ledger: Ledger,
pub filed: Vec<String>,
}Expand description
Everything needed to pick a review back up, including on another machine.
Fields§
§version: u32§round: u32§next_actor: String§status: Status§ledger: Ledger§filed: Vec<String>Trait Implementations§
Source§impl Clone for PersistedState
impl Clone for PersistedState
Source§fn clone(&self) -> PersistedState
fn clone(&self) -> PersistedState
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 PersistedState
impl Debug for PersistedState
Source§impl<'de> Deserialize<'de> for PersistedState
impl<'de> Deserialize<'de> for PersistedState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PersistedState
impl RefUnwindSafe for PersistedState
impl Send for PersistedState
impl Sync for PersistedState
impl Unpin for PersistedState
impl UnsafeUnpin for PersistedState
impl UnwindSafe for PersistedState
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