pub struct FreshnessRule {
pub enforce_epoch: bool,
pub require_live_cosign: bool,
}Expand description
How a consequence tier treats authority state.
Fields§
§enforce_epoch: bool§require_live_cosign: boolTrait Implementations§
Source§impl Clone for FreshnessRule
impl Clone for FreshnessRule
impl Copy for FreshnessRule
Source§impl Debug for FreshnessRule
impl Debug for FreshnessRule
impl Eq for FreshnessRule
Source§impl PartialEq for FreshnessRule
impl PartialEq for FreshnessRule
impl StructuralPartialEq for FreshnessRule
Auto Trait Implementations§
impl Forget for FreshnessRule
impl Freeze for FreshnessRule
impl Move for FreshnessRule
impl RefUnwindSafe for FreshnessRule
impl Send for FreshnessRule
impl Sync for FreshnessRule
impl Unpin for FreshnessRule
impl UnsafeUnpin for FreshnessRule
impl UnwindSafe for FreshnessRule
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.