#[non_exhaustive]pub struct RemoveActionBuilder { /* private fields */ }
Expand description
A builder for RemoveAction
.
Implementations§
source§impl RemoveActionBuilder
impl RemoveActionBuilder
sourcepub fn member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The unique identifier of the member to remove.
This field is required.sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The unique identifier of the member to remove.
sourcepub fn get_member_id(&self) -> &Option<String>
pub fn get_member_id(&self) -> &Option<String>
The unique identifier of the member to remove.
sourcepub fn build(self) -> Result<RemoveAction, BuildError>
pub fn build(self) -> Result<RemoveAction, BuildError>
Consumes the builder and constructs a RemoveAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RemoveActionBuilder
impl Clone for RemoveActionBuilder
source§fn clone(&self) -> RemoveActionBuilder
fn clone(&self) -> RemoveActionBuilder
Returns a copy of the value. Read more
1.0.0 · 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 RemoveActionBuilder
impl Debug for RemoveActionBuilder
source§impl Default for RemoveActionBuilder
impl Default for RemoveActionBuilder
source§fn default() -> RemoveActionBuilder
fn default() -> RemoveActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RemoveActionBuilder
impl PartialEq for RemoveActionBuilder
source§fn eq(&self, other: &RemoveActionBuilder) -> bool
fn eq(&self, other: &RemoveActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RemoveActionBuilder
Auto Trait Implementations§
impl Freeze for RemoveActionBuilder
impl RefUnwindSafe for RemoveActionBuilder
impl Send for RemoveActionBuilder
impl Sync for RemoveActionBuilder
impl Unpin for RemoveActionBuilder
impl UnwindSafe for RemoveActionBuilder
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
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>
Creates a shared type from an unshared type.