pub struct ThresholdApprovalProposalBody {
pub schema: String,
pub proposal_id: String,
pub request_id: String,
pub governed_intent_hash: String,
pub subject: PublicKey,
pub authorizing_capability_digest: String,
pub policy_hash: String,
pub threshold: u32,
pub eligible_set_digest: String,
pub proposal_created_at: u64,
pub proposal_deadline: u64,
pub policy_authority: PublicKey,
}Expand description
Canonical policy-authority statement that opens one threshold approval window.
Fields§
§schema: String§proposal_id: String§request_id: String§governed_intent_hash: String§subject: PublicKey§policy_hash: String§threshold: u32§eligible_set_digest: String§proposal_created_at: u64§proposal_deadline: u64Implementations§
Trait Implementations§
Source§impl Clone for ThresholdApprovalProposalBody
impl Clone for ThresholdApprovalProposalBody
Source§fn clone(&self) -> ThresholdApprovalProposalBody
fn clone(&self) -> ThresholdApprovalProposalBody
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<'de> Deserialize<'de> for ThresholdApprovalProposalBody
impl<'de> Deserialize<'de> for ThresholdApprovalProposalBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThresholdApprovalProposalBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ThresholdApprovalProposalBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ThresholdApprovalProposalBody
Source§impl Serialize for ThresholdApprovalProposalBody
impl Serialize for ThresholdApprovalProposalBody
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 ThresholdApprovalProposalBody
Auto Trait Implementations§
impl Freeze for ThresholdApprovalProposalBody
impl RefUnwindSafe for ThresholdApprovalProposalBody
impl Send for ThresholdApprovalProposalBody
impl Sync for ThresholdApprovalProposalBody
impl Unpin for ThresholdApprovalProposalBody
impl UnsafeUnpin for ThresholdApprovalProposalBody
impl UnwindSafe for ThresholdApprovalProposalBody
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