pub struct RequestSignature {
pub timestamp: String,
pub nonce: String,
pub signature_hex: String,
}Expand description
The freshness/identity values produced when signing a request:
the unix-seconds timestamp and per-request nonce the signature covers,
plus the hex Ed25519 signature itself. Returned by
ReleaseCredential::sign_request; the caller sends these in the
X-WK-Sig-Ts / X-WK-Sig-Nonce / X-WK-Sig headers.
Fields§
§timestamp: String§nonce: String§signature_hex: StringTrait Implementations§
Source§impl Clone for RequestSignature
impl Clone for RequestSignature
Source§fn clone(&self) -> RequestSignature
fn clone(&self) -> RequestSignature
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 moreAuto Trait Implementations§
impl Freeze for RequestSignature
impl RefUnwindSafe for RequestSignature
impl Send for RequestSignature
impl Sync for RequestSignature
impl Unpin for RequestSignature
impl UnsafeUnpin for RequestSignature
impl UnwindSafe for RequestSignature
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