#[non_exhaustive]pub struct LoadPermissionModificationsBuilder { /* private fields */ }
Expand description
A builder for LoadPermissionModifications
.
Implementations§
source§impl LoadPermissionModificationsBuilder
impl LoadPermissionModificationsBuilder
sourcepub fn add(self, input: LoadPermissionRequest) -> Self
pub fn add(self, input: LoadPermissionRequest) -> Self
Appends an item to add
.
To override the contents of this collection use set_add
.
The load permissions to add.
sourcepub fn set_add(self, input: Option<Vec<LoadPermissionRequest>>) -> Self
pub fn set_add(self, input: Option<Vec<LoadPermissionRequest>>) -> Self
The load permissions to add.
sourcepub fn get_add(&self) -> &Option<Vec<LoadPermissionRequest>>
pub fn get_add(&self) -> &Option<Vec<LoadPermissionRequest>>
The load permissions to add.
sourcepub fn remove(self, input: LoadPermissionRequest) -> Self
pub fn remove(self, input: LoadPermissionRequest) -> Self
Appends an item to remove
.
To override the contents of this collection use set_remove
.
The load permissions to remove.
sourcepub fn set_remove(self, input: Option<Vec<LoadPermissionRequest>>) -> Self
pub fn set_remove(self, input: Option<Vec<LoadPermissionRequest>>) -> Self
The load permissions to remove.
sourcepub fn get_remove(&self) -> &Option<Vec<LoadPermissionRequest>>
pub fn get_remove(&self) -> &Option<Vec<LoadPermissionRequest>>
The load permissions to remove.
sourcepub fn build(self) -> LoadPermissionModifications
pub fn build(self) -> LoadPermissionModifications
Consumes the builder and constructs a LoadPermissionModifications
.
Trait Implementations§
source§impl Clone for LoadPermissionModificationsBuilder
impl Clone for LoadPermissionModificationsBuilder
source§fn clone(&self) -> LoadPermissionModificationsBuilder
fn clone(&self) -> LoadPermissionModificationsBuilder
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 Default for LoadPermissionModificationsBuilder
impl Default for LoadPermissionModificationsBuilder
source§fn default() -> LoadPermissionModificationsBuilder
fn default() -> LoadPermissionModificationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoadPermissionModificationsBuilder
impl PartialEq for LoadPermissionModificationsBuilder
source§fn eq(&self, other: &LoadPermissionModificationsBuilder) -> bool
fn eq(&self, other: &LoadPermissionModificationsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoadPermissionModificationsBuilder
Auto Trait Implementations§
impl Freeze for LoadPermissionModificationsBuilder
impl RefUnwindSafe for LoadPermissionModificationsBuilder
impl Send for LoadPermissionModificationsBuilder
impl Sync for LoadPermissionModificationsBuilder
impl Unpin for LoadPermissionModificationsBuilder
impl UnwindSafe for LoadPermissionModificationsBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.