Struct omaha_client::cup_ecdsa::RequestMetadata
source · pub struct RequestMetadata {
pub request_body: Vec<u8>,
pub public_key_id: PublicKeyId,
pub nonce: Nonce,
}
Expand description
Request decoration return type, containing request internals. Clients of this library can call .hash() and store/retrieve the hash, or they can inspect the request, public key ID, nonce used if necessary.
Fields§
§request_body: Vec<u8>
§public_key_id: PublicKeyId
§nonce: Nonce
Trait Implementations§
source§impl Clone for RequestMetadata
impl Clone for RequestMetadata
source§fn clone(&self) -> RequestMetadata
fn clone(&self) -> RequestMetadata
Returns a copy 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 RequestMetadata
impl Debug for RequestMetadata
source§impl PartialEq for RequestMetadata
impl PartialEq for RequestMetadata
source§fn eq(&self, other: &RequestMetadata) -> bool
fn eq(&self, other: &RequestMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RequestMetadata
impl StructuralPartialEq for RequestMetadata
Auto Trait Implementations§
impl Freeze for RequestMetadata
impl RefUnwindSafe for RequestMetadata
impl Send for RequestMetadata
impl Sync for RequestMetadata
impl Unpin for RequestMetadata
impl UnwindSafe for RequestMetadata
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