Struct aws_sdk_workmail::types::builders::DelegateBuilder
source · #[non_exhaustive]pub struct DelegateBuilder { /* private fields */ }
Expand description
A builder for Delegate
.
Implementations§
source§impl DelegateBuilder
impl DelegateBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the user or group associated as the resource's delegate.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the user or group associated as the resource's delegate.
sourcepub fn type(self, input: MemberType) -> Self
pub fn type(self, input: MemberType) -> Self
The type of the delegate: user or group.
sourcepub fn set_type(self, input: Option<MemberType>) -> Self
pub fn set_type(self, input: Option<MemberType>) -> Self
The type of the delegate: user or group.
Trait Implementations§
source§impl Clone for DelegateBuilder
impl Clone for DelegateBuilder
source§fn clone(&self) -> DelegateBuilder
fn clone(&self) -> DelegateBuilder
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 DelegateBuilder
impl Debug for DelegateBuilder
source§impl Default for DelegateBuilder
impl Default for DelegateBuilder
source§fn default() -> DelegateBuilder
fn default() -> DelegateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DelegateBuilder> for DelegateBuilder
impl PartialEq<DelegateBuilder> for DelegateBuilder
source§fn eq(&self, other: &DelegateBuilder) -> bool
fn eq(&self, other: &DelegateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DelegateBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DelegateBuilder
impl Send for DelegateBuilder
impl Sync for DelegateBuilder
impl Unpin for DelegateBuilder
impl UnwindSafe for DelegateBuilder
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