pub struct IdentityAuthedRequestPayload {
pub command: &'static str,
pub verifying_key: VerifyingKey,
pub timestamp: u64,
pub signature: Signature,
}
Expand description
An identity authenticated request payload.
Fields§
§command: &'static str
The command to execute.
verifying_key: VerifyingKey
The verifying key of the initiating party.
timestamp: u64
The UTC timestamp at which the request was initiated.
signature: Signature
A signature of the command and timestamp by the initiating party.
Trait Implementations§
Source§impl Clone for IdentityAuthedRequestPayload
impl Clone for IdentityAuthedRequestPayload
Source§fn clone(&self) -> IdentityAuthedRequestPayload
fn clone(&self) -> IdentityAuthedRequestPayload
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for IdentityAuthedRequestPayload
impl RefUnwindSafe for IdentityAuthedRequestPayload
impl Send for IdentityAuthedRequestPayload
impl Sync for IdentityAuthedRequestPayload
impl Unpin for IdentityAuthedRequestPayload
impl UnwindSafe for IdentityAuthedRequestPayload
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