pub struct NonceRequest<'r, R>where
R: Serialize,{ /* private fields */ }
Expand description
A generic wrapper around any serializable request data that contains the nonce for a request.
Using #[serde(flatten)]
, this allows any serializable request to have a nonce field added to
its output.
Users are able to, but unlikely to need to use this at all as nonces are generated in the HTTP
methods internal to CoreKrakenClient
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'r, R> Freeze for NonceRequest<'r, R>
impl<'r, R> RefUnwindSafe for NonceRequest<'r, R>where
R: RefUnwindSafe,
impl<'r, R> Send for NonceRequest<'r, R>where
R: Sync,
impl<'r, R> Sync for NonceRequest<'r, R>where
R: Sync,
impl<'r, R> Unpin for NonceRequest<'r, R>
impl<'r, R> UnwindSafe for NonceRequest<'r, R>where
R: RefUnwindSafe,
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