pub struct DeletedObjectResultsBuilder { /* private fields */ }Implementations§
Source§impl DeletedObjectResultsBuilder
impl DeletedObjectResultsBuilder
pub const fn new(requested_path: String) -> Self
pub fn set_failure(self, err_code: u32, err_msg: Option<String>) -> Self
pub fn set_success( self, affected_paths: Vec<String>, unaffected_path_errs: Vec<DeleteRespUnaffectedPathError>, ) -> Self
pub fn build(self) -> Result<DeletedObjectResult>
Trait Implementations§
Source§impl Clone for DeletedObjectResultsBuilder
impl Clone for DeletedObjectResultsBuilder
Source§fn clone(&self) -> DeletedObjectResultsBuilder
fn clone(&self) -> DeletedObjectResultsBuilder
Returns a duplicate 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 DeletedObjectResultsBuilder
impl RefUnwindSafe for DeletedObjectResultsBuilder
impl Send for DeletedObjectResultsBuilder
impl Sync for DeletedObjectResultsBuilder
impl Unpin for DeletedObjectResultsBuilder
impl UnwindSafe for DeletedObjectResultsBuilder
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