pub struct ContractStats {
pub policy_count: usize,
pub active_policy_count: usize,
pub risk_limit_count: usize,
pub approval_rule_count: usize,
pub pending_approval_count: usize,
pub condition_count: usize,
pub obligation_count: usize,
pub pending_obligation_count: usize,
pub violation_count: usize,
pub critical_violation_count: usize,
pub total_entities: usize,
}Expand description
Summary statistics for a contract store.
Fields§
§policy_count: usize§active_policy_count: usize§risk_limit_count: usize§approval_rule_count: usize§pending_approval_count: usize§condition_count: usize§obligation_count: usize§pending_obligation_count: usize§violation_count: usize§critical_violation_count: usize§total_entities: usizeTrait Implementations§
Source§impl Clone for ContractStats
impl Clone for ContractStats
Source§fn clone(&self) -> ContractStats
fn clone(&self) -> ContractStats
Returns a duplicate of the value. Read more
1.0.0 · 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 ContractStats
impl Debug for ContractStats
Source§impl<'de> Deserialize<'de> for ContractStats
impl<'de> Deserialize<'de> for ContractStats
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 ContractStats
impl RefUnwindSafe for ContractStats
impl Send for ContractStats
impl Sync for ContractStats
impl Unpin for ContractStats
impl UnsafeUnpin for ContractStats
impl UnwindSafe for ContractStats
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