#[non_exhaustive]pub struct AuthoritativeRecoveryView { /* private fields */ }Implementations§
Source§impl AuthoritativeRecoveryView
impl AuthoritativeRecoveryView
pub const fn state(&self) -> RecoveryState
pub fn reason(&self) -> Option<&str>
pub const fn action_available(&self) -> bool
pub fn task_id(&self) -> &str
pub fn job_id(&self) -> &str
pub fn run_id(&self) -> &str
pub fn worker_id(&self) -> &str
pub fn assignment_generation(&self) -> &str
pub fn source_sha256(&self) -> &str
pub fn candidate_sha256(&self) -> Option<&str>
pub fn provenance(&self) -> &str
Source§impl AuthoritativeRecoveryView
impl AuthoritativeRecoveryView
pub fn try_from_value( value: &Value, task: &AuthoritativeTaskView, job: &AuthoritativeJobView, run: &AuthoritativeRunView, source: &str, ) -> Result<Self, String>
pub fn from_value( value: &Value, task: &AuthoritativeTaskView, job: &AuthoritativeJobView, run: &AuthoritativeRunView, source: &str, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for AuthoritativeRecoveryView
impl Clone for AuthoritativeRecoveryView
Source§fn clone(&self) -> AuthoritativeRecoveryView
fn clone(&self) -> AuthoritativeRecoveryView
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 AuthoritativeRecoveryView
impl Debug for AuthoritativeRecoveryView
impl Eq for AuthoritativeRecoveryView
impl StructuralPartialEq for AuthoritativeRecoveryView
Auto Trait Implementations§
impl Freeze for AuthoritativeRecoveryView
impl RefUnwindSafe for AuthoritativeRecoveryView
impl Send for AuthoritativeRecoveryView
impl Sync for AuthoritativeRecoveryView
impl Unpin for AuthoritativeRecoveryView
impl UnsafeUnpin for AuthoritativeRecoveryView
impl UnwindSafe for AuthoritativeRecoveryView
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.