pub struct Quorum {
pub threshold: u32,
pub eligible_actors: Vec<String>,
pub current_owner_counts: bool,
pub role_constraints: Option<RoleConstraints>,
pub timelock_hours: Option<u32>,
}Expand description
One quorum specification: threshold + eligible signer ids + whether the current registry owner counts toward this quorum.
Fields§
§threshold: u32§eligible_actors: Vec<String>§current_owner_counts: bool§role_constraints: Option<RoleConstraints>Optional per-role minimum counts within the satisfying quorum. Verification ignores roles not present in the frontier’s actor records; the v0.145 verifier reads roles from the actor registry.
timelock_hours: Option<u32>Timelock applied to actions authorized by this quorum (in hours). Zero or absent means immediate. Used by emergency and policy-update quorums; ignored for the standard rotate quorum.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quorum
impl<'de> Deserialize<'de> for Quorum
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 Quorum
impl StructuralPartialEq for Quorum
Auto Trait Implementations§
impl Freeze for Quorum
impl RefUnwindSafe for Quorum
impl Send for Quorum
impl Sync for Quorum
impl Unpin for Quorum
impl UnsafeUnpin for Quorum
impl UnwindSafe for Quorum
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.