pub struct RepairCheckBaseline { /* private fields */ }Implementations§
Source§impl RepairCheckBaseline
impl RepairCheckBaseline
pub fn try_new( check_id: String, outcome: LintOutcome, gate_effect: LintGateEffect, evidence: Vec<LintEvidenceRef>, ) -> Result<Self, RepairContractError>
pub fn try_new_current( check_id: String, outcome: LintOutcome, gate_effect: LintGateEffect, affected_records: u64, evidence: Vec<LintEvidenceRef>, ) -> Result<Self, RepairContractError>
pub fn check_id(&self) -> &str
pub const fn outcome(&self) -> LintOutcome
pub const fn gate_effect(&self) -> LintGateEffect
pub const fn affected_records(&self) -> Option<u64>
pub fn evidence(&self) -> &[LintEvidenceRef]
Trait Implementations§
Source§impl Clone for RepairCheckBaseline
impl Clone for RepairCheckBaseline
Source§fn clone(&self) -> RepairCheckBaseline
fn clone(&self) -> RepairCheckBaseline
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 RepairCheckBaseline
impl Debug for RepairCheckBaseline
Source§impl<'de> Deserialize<'de> for RepairCheckBaseline
impl<'de> Deserialize<'de> for RepairCheckBaseline
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
impl Eq for RepairCheckBaseline
Source§impl PartialEq for RepairCheckBaseline
impl PartialEq for RepairCheckBaseline
Source§impl Serialize for RepairCheckBaseline
impl Serialize for RepairCheckBaseline
impl StructuralPartialEq for RepairCheckBaseline
Auto Trait Implementations§
impl Freeze for RepairCheckBaseline
impl RefUnwindSafe for RepairCheckBaseline
impl Send for RepairCheckBaseline
impl Sync for RepairCheckBaseline
impl Unpin for RepairCheckBaseline
impl UnsafeUnpin for RepairCheckBaseline
impl UnwindSafe for RepairCheckBaseline
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