pub struct DeleteImagesBuilder {
session_id: Option<Uuid>,
session_file_ids: Option<Vec<Uuid>>,
/* private fields */
}
Expand description
Builder for DeleteImages
.
Fields§
§session_id: Option<Uuid>
§session_file_ids: Option<Vec<Uuid>>
Implementations§
Source§impl DeleteImagesBuilder
impl DeleteImagesBuilder
pub fn session_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn session_file_ids<VALUE: Into<Vec<Uuid>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_session_file_id<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<DeleteImages, BuilderError>
pub fn build(&self) -> Result<DeleteImages, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Trait Implementations§
Source§impl Clone for DeleteImagesBuilder
impl Clone for DeleteImagesBuilder
Source§fn clone(&self) -> DeleteImagesBuilder
fn clone(&self) -> DeleteImagesBuilder
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 moreAuto Trait Implementations§
impl Freeze for DeleteImagesBuilder
impl !RefUnwindSafe for DeleteImagesBuilder
impl !Send for DeleteImagesBuilder
impl !Sync for DeleteImagesBuilder
impl Unpin for DeleteImagesBuilder
impl !UnwindSafe for DeleteImagesBuilder
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