pub enum SetOperationStatus {
Failure(SetOperationFailureBuilder),
Success(Vec<SetOperationSuccessBuilder>),
None,
}Variants§
Implementations§
Source§impl SetOperationStatus
impl SetOperationStatus
pub const fn new() -> Self
pub fn set_failure( self, err_code: u32, err_msg: Option<String>, updated_inst_failures: Vec<UpdatedInstanceFailureBuilder>, ) -> Self
pub fn set_success( self, updated_inst_results: Vec<SetOperationSuccessBuilder>, ) -> Self
pub fn build(self) -> Result<OperationStatus>
Trait Implementations§
Source§impl Clone for SetOperationStatus
impl Clone for SetOperationStatus
Source§fn clone(&self) -> SetOperationStatus
fn clone(&self) -> SetOperationStatus
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 SetOperationStatus
impl RefUnwindSafe for SetOperationStatus
impl Send for SetOperationStatus
impl Sync for SetOperationStatus
impl Unpin for SetOperationStatus
impl UnwindSafe for SetOperationStatus
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