pub struct PersistedState {
pub version: u32,
pub checkpoint: u64,
pub round: u32,
pub next_actor: String,
pub status: Status,
pub pr_head: String,
pub ledger: Ledger,
pub filed: Vec<String>,
pub open_findings: Vec<Finding>,
pub disputes: Vec<Dispute>,
pub noted: Vec<Finding>,
}Expand description
Everything needed to pick a review back up, including on another machine.
Fields§
§version: u32§checkpoint: u64Monotonic checkpoint order for writes within this repository.
round: u32§next_actor: String§status: Status§pr_head: StringPublished pull request head to which this checkpoint applies.
ledger: Ledger§filed: Vec<String>§open_findings: Vec<Finding>§disputes: Vec<Dispute>§noted: Vec<Finding>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