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 ==
.impl StructuralPartialEq for ProposalActions
Auto Trait Implementations§
impl Freeze for ProposalActions
impl RefUnwindSafe for ProposalActions
impl Send for ProposalActions
impl Sync for ProposalActions
impl Unpin for ProposalActions
impl UnwindSafe for ProposalActions
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more