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