#[non_exhaustive]pub struct CommandResultMetadata {}Expand description
Optional metadata a command can attach to its result.
Trait Implementations§
Source§impl Clone for CommandResultMetadata
impl Clone for CommandResultMetadata
Source§fn clone(&self) -> CommandResultMetadata
fn clone(&self) -> CommandResultMetadata
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 moreSource§impl Debug for CommandResultMetadata
impl Debug for CommandResultMetadata
Source§impl Default for CommandResultMetadata
impl Default for CommandResultMetadata
Source§fn default() -> CommandResultMetadata
fn default() -> CommandResultMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandResultMetadata
impl PartialEq for CommandResultMetadata
Source§fn eq(&self, other: &CommandResultMetadata) -> bool
fn eq(&self, other: &CommandResultMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CommandResultMetadata
impl StructuralPartialEq for CommandResultMetadata
Auto Trait Implementations§
impl Freeze for CommandResultMetadata
impl RefUnwindSafe for CommandResultMetadata
impl Send for CommandResultMetadata
impl Sync for CommandResultMetadata
impl Unpin for CommandResultMetadata
impl UnsafeUnpin for CommandResultMetadata
impl UnwindSafe for CommandResultMetadata
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