pub struct Success {
pub ok: bool,
}
Expand description
Structure representing the success state of an operation.
Fields§
§ok: bool
Boolean indicating whether the operation was successful.
Trait Implementations§
impl Copy for Success
impl StructuralPartialEq for Success
Auto Trait Implementations§
impl Freeze for Success
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)