#[non_exhaustive]pub struct AuthoritativeReportView { /* private fields */ }Implementations§
Source§impl AuthoritativeReportView
impl AuthoritativeReportView
pub fn id(&self) -> &str
pub fn report_digest(&self) -> &str
pub fn candidate_sha256(&self) -> &str
pub fn source_sha256(&self) -> &str
pub const fn verdict(&self) -> NativeVerdict
pub fn job_id(&self) -> &str
pub fn run_id(&self) -> &str
pub fn result_digest(&self) -> &str
Source§impl AuthoritativeReportView
impl AuthoritativeReportView
pub fn try_from_value( value: &Value, candidate: &str, source: Option<&str>, job: Option<&AuthoritativeJobView>, run: Option<&AuthoritativeRunView>, result: Option<&AuthoritativeResultView>, ) -> Result<Self, String>
pub fn from_value( value: &Value, candidate: &str, source: Option<&str>, job: Option<&AuthoritativeJobView>, run: Option<&AuthoritativeRunView>, result: Option<&AuthoritativeResultView>, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for AuthoritativeReportView
impl Clone for AuthoritativeReportView
Source§fn clone(&self) -> AuthoritativeReportView
fn clone(&self) -> AuthoritativeReportView
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 AuthoritativeReportView
impl Debug for AuthoritativeReportView
impl Eq for AuthoritativeReportView
Source§impl PartialEq for AuthoritativeReportView
impl PartialEq for AuthoritativeReportView
impl StructuralPartialEq for AuthoritativeReportView
Auto Trait Implementations§
impl Freeze for AuthoritativeReportView
impl RefUnwindSafe for AuthoritativeReportView
impl Send for AuthoritativeReportView
impl Sync for AuthoritativeReportView
impl Unpin for AuthoritativeReportView
impl UnsafeUnpin for AuthoritativeReportView
impl UnwindSafe for AuthoritativeReportView
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.