#[non_exhaustive]pub struct CommandResultMetadata {
pub next_actions: Vec<NextAction>,
}Expand description
Optional metadata a command can attach to its result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.next_actions: Vec<NextAction>Suggested follow-up actions for the caller.
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
impl Eq for CommandResultMetadata
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 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