pub struct LintCoverage { /* private fields */ }Implementations§
Source§impl LintCoverage
impl LintCoverage
pub fn new( method: LintValidationMethod, authorized_denominator: u64, evaluated: u64, evidence_cap: u16, truncated: bool, evidence_returned: u64, ) -> Result<Self, LintContractError>
pub const fn method(&self) -> LintValidationMethod
pub const fn denominator(&self) -> u64
pub const fn evaluated(&self) -> u64
pub const fn evidence_cap(&self) -> u16
pub const fn truncated(&self) -> bool
pub const fn evidence_returned(&self) -> u64
Trait Implementations§
Source§impl Clone for LintCoverage
impl Clone for LintCoverage
Source§fn clone(&self) -> LintCoverage
fn clone(&self) -> LintCoverage
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 LintCoverage
impl Debug for LintCoverage
Source§impl<'de> Deserialize<'de> for LintCoverage
impl<'de> Deserialize<'de> for LintCoverage
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 LintCoverage
Source§impl PartialEq for LintCoverage
impl PartialEq for LintCoverage
Source§impl Serialize for LintCoverage
impl Serialize for LintCoverage
impl StructuralPartialEq for LintCoverage
Auto Trait Implementations§
impl Freeze for LintCoverage
impl RefUnwindSafe for LintCoverage
impl Send for LintCoverage
impl Sync for LintCoverage
impl Unpin for LintCoverage
impl UnsafeUnpin for LintCoverage
impl UnwindSafe for LintCoverage
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