pub struct ThresholdApprovalRequirement {
pub policy_hash: String,
pub threshold: u32,
pub eligible_approvers: Vec<ThresholdApproverIdentity>,
pub eligible_set_digest: String,
pub directory_version: String,
pub timeout_seconds: u64,
}Fields§
§policy_hash: String§threshold: u32§eligible_approvers: Vec<ThresholdApproverIdentity>§eligible_set_digest: String§directory_version: String§timeout_seconds: u64Implementations§
Trait Implementations§
Source§impl Clone for ThresholdApprovalRequirement
impl Clone for ThresholdApprovalRequirement
Source§fn clone(&self) -> ThresholdApprovalRequirement
fn clone(&self) -> ThresholdApprovalRequirement
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 ThresholdApprovalRequirement
impl Debug for ThresholdApprovalRequirement
Source§impl<'de> Deserialize<'de> for ThresholdApprovalRequirement
impl<'de> Deserialize<'de> for ThresholdApprovalRequirement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThresholdApprovalRequirement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThresholdApprovalRequirement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ThresholdApprovalRequirement
Source§impl Serialize for ThresholdApprovalRequirement
impl Serialize for ThresholdApprovalRequirement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ThresholdApprovalRequirement
Auto Trait Implementations§
impl Freeze for ThresholdApprovalRequirement
impl RefUnwindSafe for ThresholdApprovalRequirement
impl Send for ThresholdApprovalRequirement
impl Sync for ThresholdApprovalRequirement
impl Unpin for ThresholdApprovalRequirement
impl UnsafeUnpin for ThresholdApprovalRequirement
impl UnwindSafe for ThresholdApprovalRequirement
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