pub struct OwnedChatCommand {
pub name: Box<CStr>,
pub help: Vec<Box<CStr>>,
pub command: Box<ChatCommand>,
}Fields§
§name: Box<CStr>§help: Vec<Box<CStr>>§command: Box<ChatCommand>Implementations§
Auto Trait Implementations§
impl Freeze for OwnedChatCommand
impl RefUnwindSafe for OwnedChatCommand
impl !Send for OwnedChatCommand
impl !Sync for OwnedChatCommand
impl Unpin for OwnedChatCommand
impl UnsafeUnpin for OwnedChatCommand
impl UnwindSafe for OwnedChatCommand
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