Struct botx_api_framework::results::command::CommandError
source · pub struct CommandError {
pub reason: String,
pub status_message: String,
}Fields§
§reason: StringПричина ошибки
status_message: StringСообщение которое будет показано пользователю (TODO: проверить что оно реально показывается)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl UnwindSafe for CommandError
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