Struct aws_sdk_managedblockchain::types::ProposalActions
source · #[non_exhaustive]pub struct ProposalActions {
pub invitations: Option<Vec<InviteAction>>,
pub removals: Option<Vec<RemoveAction>>,
}
Expand description
The actions to carry out if a proposal is APPROVED
.
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.invitations: Option<Vec<InviteAction>>
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a member and join the network.
removals: Option<Vec<RemoveAction>>
The actions to perform for an APPROVED
proposal to remove a member from the network, which deletes the member and all associated member resources from the network.
Implementations§
source§impl ProposalActions
impl ProposalActions
sourcepub fn invitations(&self) -> &[InviteAction]
pub fn invitations(&self) -> &[InviteAction]
The actions to perform for an APPROVED
proposal to invite an Amazon Web Services account to create a member and join the network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .invitations.is_none()
.
sourcepub fn removals(&self) -> &[RemoveAction]
pub fn removals(&self) -> &[RemoveAction]
The actions to perform for an APPROVED
proposal to remove a member from the network, which deletes the member and all associated member resources from the network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .removals.is_none()
.
source§impl ProposalActions
impl ProposalActions
sourcepub fn builder() -> ProposalActionsBuilder
pub fn builder() -> ProposalActionsBuilder
Creates a new builder-style object to manufacture ProposalActions
.
Trait Implementations§
source§impl Clone for ProposalActions
impl Clone for ProposalActions
source§fn clone(&self) -> ProposalActions
fn clone(&self) -> ProposalActions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProposalActions
impl Debug for ProposalActions
source§impl PartialEq for ProposalActions
impl PartialEq for ProposalActions
source§fn eq(&self, other: &ProposalActions) -> bool
fn eq(&self, other: &ProposalActions) -> bool
self
and other
values to be equal, and is used
by ==
.