pub enum BotManagementGetCategoryError {
Status400(BotManagementInvalidRequestError),
Status401(BotManagementNotAuthenticatedError),
Status403(BotManagementNotAllowedError),
Status404(BotManagementNotFoundError),
Status429(BotManagementRateLimitError),
UnknownValue(Value),
}Expand description
struct for typed errors of method bot_management_get_category
Variants§
Status400(BotManagementInvalidRequestError)
Status401(BotManagementNotAuthenticatedError)
Status403(BotManagementNotAllowedError)
Status404(BotManagementNotFoundError)
Status429(BotManagementRateLimitError)
UnknownValue(Value)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BotManagementGetCategoryError
impl<'de> Deserialize<'de> for BotManagementGetCategoryError
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
Auto Trait Implementations§
impl Freeze for BotManagementGetCategoryError
impl RefUnwindSafe for BotManagementGetCategoryError
impl Send for BotManagementGetCategoryError
impl Sync for BotManagementGetCategoryError
impl Unpin for BotManagementGetCategoryError
impl UnsafeUnpin for BotManagementGetCategoryError
impl UnwindSafe for BotManagementGetCategoryError
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