#[non_exhaustive]pub struct UserCommands {
pub commands: Vec<String>,
/* private fields */
}Expand description
UserCommands contains the commands to be executed by the customer.
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.commands: Vec<String>Output only. List of commands to be executed by the customer.
Implementations§
Source§impl UserCommands
impl UserCommands
pub fn new() -> Self
Sourcepub fn set_commands<T, V>(self, v: T) -> Self
pub fn set_commands<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for UserCommands
impl Clone for UserCommands
Source§fn clone(&self) -> UserCommands
fn clone(&self) -> UserCommands
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 moreSource§impl Debug for UserCommands
impl Debug for UserCommands
Source§impl Default for UserCommands
impl Default for UserCommands
Source§fn default() -> UserCommands
fn default() -> UserCommands
Returns the “default value” for a type. Read more
Source§impl Message for UserCommands
impl Message for UserCommands
Source§impl PartialEq for UserCommands
impl PartialEq for UserCommands
impl StructuralPartialEq for UserCommands
Auto Trait Implementations§
impl Freeze for UserCommands
impl RefUnwindSafe for UserCommands
impl Send for UserCommands
impl Sync for UserCommands
impl Unpin for UserCommands
impl UnwindSafe for UserCommands
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