pub struct ResponseMetadata { /* private fields */ }Expand description
Non-sensitive interpreted response metadata captured by a transport.
Implementations§
Source§impl ResponseMetadata
impl ResponseMetadata
Sourcepub fn with_rate_limit(self, rate_limit: RateLimit) -> Self
pub fn with_rate_limit(self, rate_limit: RateLimit) -> Self
Adds validated rate-limit metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseMetadata
impl RefUnwindSafe for ResponseMetadata
impl Send for ResponseMetadata
impl Sync for ResponseMetadata
impl Unpin for ResponseMetadata
impl UnsafeUnpin for ResponseMetadata
impl UnwindSafe for ResponseMetadata
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