pub struct VerifyHmacArgs {
pub protocol_id: Protocol,
pub key_id: String,
pub counterparty: Counterparty,
pub data: Vec<u8>,
pub hmac: Vec<u8>,
pub privileged: bool,
pub privileged_reason: Option<String>,
pub seek_permission: Option<bool>,
}Expand description
Arguments for verifying an HMAC.
Fields§
§protocol_id: Protocol§key_id: String§counterparty: Counterparty§data: Vec<u8>§hmac: Vec<u8>§privileged: bool§privileged_reason: Option<String>§seek_permission: Option<bool>Trait Implementations§
Source§impl Clone for VerifyHmacArgs
impl Clone for VerifyHmacArgs
Source§fn clone(&self) -> VerifyHmacArgs
fn clone(&self) -> VerifyHmacArgs
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 VerifyHmacArgs
impl !RefUnwindSafe for VerifyHmacArgs
impl Send for VerifyHmacArgs
impl Sync for VerifyHmacArgs
impl Unpin for VerifyHmacArgs
impl UnsafeUnpin for VerifyHmacArgs
impl !UnwindSafe for VerifyHmacArgs
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