pub struct UpdateMethodRateLimitResponse {
pub data: Option<MethodRateLimiter>,
pub error: Option<String>,
}Expand description
Response from update_method_rate_limit.
Fields§
§data: Option<MethodRateLimiter>The updated rate limiter.
error: Option<String>Error message when the request did not succeed.
Trait Implementations§
Source§impl Clone for UpdateMethodRateLimitResponse
impl Clone for UpdateMethodRateLimitResponse
Source§fn clone(&self) -> UpdateMethodRateLimitResponse
fn clone(&self) -> UpdateMethodRateLimitResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for UpdateMethodRateLimitResponse
impl<'de> Deserialize<'de> for UpdateMethodRateLimitResponse
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 UpdateMethodRateLimitResponse
impl RefUnwindSafe for UpdateMethodRateLimitResponse
impl Send for UpdateMethodRateLimitResponse
impl Sync for UpdateMethodRateLimitResponse
impl Unpin for UpdateMethodRateLimitResponse
impl UnsafeUnpin for UpdateMethodRateLimitResponse
impl UnwindSafe for UpdateMethodRateLimitResponse
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