pub struct BotManagementRateLimitError {
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 BotManagementRateLimitError
impl BotManagementRateLimitError
pub fn new(title: String, status: Status) -> BotManagementRateLimitError
Trait Implementations§
Source§impl Clone for BotManagementRateLimitError
impl Clone for BotManagementRateLimitError
Source§impl Debug for BotManagementRateLimitError
impl Debug for BotManagementRateLimitError
Source§impl<'de> Deserialize<'de> for BotManagementRateLimitError
impl<'de> Deserialize<'de> for BotManagementRateLimitError
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 BotManagementRateLimitError
Auto Trait Implementations§
impl Freeze for BotManagementRateLimitError
impl RefUnwindSafe for BotManagementRateLimitError
impl Send for BotManagementRateLimitError
impl Sync for BotManagementRateLimitError
impl Unpin for BotManagementRateLimitError
impl UnsafeUnpin for BotManagementRateLimitError
impl UnwindSafe for BotManagementRateLimitError
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