pub struct BotManagementNotAllowedError {
pub title: String,
pub status: Status,
pub detail: Option<String>,
}Fields§
§title: String§status: Status§detail: Option<String>An explanation of the problem, specific to this occurrence.
Implementations§
Source§impl BotManagementNotAllowedError
impl BotManagementNotAllowedError
pub fn new(title: String, status: Status) -> BotManagementNotAllowedError
Trait Implementations§
Source§impl Clone for BotManagementNotAllowedError
impl Clone for BotManagementNotAllowedError
Source§impl Debug for BotManagementNotAllowedError
impl Debug for BotManagementNotAllowedError
Source§impl<'de> Deserialize<'de> for BotManagementNotAllowedError
impl<'de> Deserialize<'de> for BotManagementNotAllowedError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for BotManagementNotAllowedError
Auto Trait Implementations§
impl Freeze for BotManagementNotAllowedError
impl RefUnwindSafe for BotManagementNotAllowedError
impl Send for BotManagementNotAllowedError
impl Sync for BotManagementNotAllowedError
impl Unpin for BotManagementNotAllowedError
impl UnsafeUnpin for BotManagementNotAllowedError
impl UnwindSafe for BotManagementNotAllowedError
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