pub struct RateLimitError {
pub errors: Option<Vec<String>>,
pub limit: Option<String>,
}Fields§
§errors: Option<Vec<String>>§limit: Option<String>Implementations§
Source§impl RateLimitError
impl RateLimitError
pub fn new() -> RateLimitError
Trait Implementations§
Source§impl Clone for RateLimitError
impl Clone for RateLimitError
Source§fn clone(&self) -> RateLimitError
fn clone(&self) -> RateLimitError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RateLimitError
impl Debug for RateLimitError
Source§impl Default for RateLimitError
impl Default for RateLimitError
Source§fn default() -> RateLimitError
fn default() -> RateLimitError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RateLimitError
impl<'de> Deserialize<'de> for RateLimitError
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
Source§impl PartialEq for RateLimitError
impl PartialEq for RateLimitError
Source§impl Serialize for RateLimitError
impl Serialize for RateLimitError
impl StructuralPartialEq for RateLimitError
Auto Trait Implementations§
impl Freeze for RateLimitError
impl RefUnwindSafe for RateLimitError
impl Send for RateLimitError
impl Sync for RateLimitError
impl Unpin for RateLimitError
impl UnwindSafe for RateLimitError
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