pub struct CommandStatus {
pub success: bool,
pub code: Option<i32>,
}Fields§
§success: bool§code: Option<i32>Trait Implementations§
Source§impl Clone for CommandStatus
impl Clone for CommandStatus
Source§fn clone(&self) -> CommandStatus
fn clone(&self) -> CommandStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandStatus
Source§impl Debug for CommandStatus
impl Debug for CommandStatus
impl Eq for CommandStatus
Source§impl PartialEq for CommandStatus
impl PartialEq for CommandStatus
Source§fn eq(&self, other: &CommandStatus) -> bool
fn eq(&self, other: &CommandStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandStatus
Auto Trait Implementations§
impl Freeze for CommandStatus
impl RefUnwindSafe for CommandStatus
impl Send for CommandStatus
impl Sync for CommandStatus
impl Unpin for CommandStatus
impl UnsafeUnpin for CommandStatus
impl UnwindSafe for CommandStatus
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