Struct aws_sdk_managedblockchain::model::ProposalSummary [−][src]
#[non_exhaustive]pub struct ProposalSummary {
pub proposal_id: Option<String>,
pub description: Option<String>,
pub proposed_by_member_id: Option<String>,
pub proposed_by_member_name: Option<String>,
pub status: Option<ProposalStatus>,
pub creation_date: Option<DateTime>,
pub expiration_date: Option<DateTime>,
pub arn: Option<String>,
}Expand description
Properties of a proposal.
Applies only to Hyperledger Fabric.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.proposal_id: Option<String>The unique identifier of the proposal.
description: Option<String>The description of the proposal.
proposed_by_member_id: Option<String>The unique identifier of the member that created the proposal.
proposed_by_member_name: Option<String>The name of the member that created the proposal.
status: Option<ProposalStatus>The status of the proposal. Values are as follows:
-
IN_PROGRESS- The proposal is active and open for member voting. -
APPROVED- The proposal was approved with sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsare not carried out. -
EXPIRED- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsare not carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved could not be completed because of an error.
creation_date: Option<DateTime>The date and time that the proposal was created.
expiration_date: Option<DateTime> The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.
arn: Option<String>The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
Implementations
The unique identifier of the proposal.
The description of the proposal.
The unique identifier of the member that created the proposal.
The name of the member that created the proposal.
The status of the proposal. Values are as follows:
-
IN_PROGRESS- The proposal is active and open for member voting. -
APPROVED- The proposal was approved with sufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specified proposal actions are carried out. -
REJECTED- The proposal was rejected with insufficientYESvotes among members according to theVotingPolicyspecified for theNetwork. The specifiedProposalActionsare not carried out. -
EXPIRED- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActionsare not carried out. -
ACTION_FAILED- One or more of the specifiedProposalActionsin a proposal that was approved could not be completed because of an error.
The date and time that the proposal was created.
The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions are not carried out.
The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
Creates a new builder-style object to manufacture ProposalSummary
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ProposalSummary
impl Send for ProposalSummary
impl Sync for ProposalSummary
impl Unpin for ProposalSummary
impl UnwindSafe for ProposalSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
