Struct yubihsm::audit::AuditCommand
source · pub struct AuditCommand(pub Code, pub AuditOption);
Expand description
Audit settings for a particular command
Tuple Fields§
§0: Code
§1: AuditOption
Implementations§
source§impl AuditCommand
impl AuditCommand
sourcepub fn command_type(&self) -> Code
pub fn command_type(&self) -> Code
Get the command type
sourcepub fn audit_option(&self) -> AuditOption
pub fn audit_option(&self) -> AuditOption
Get the audit option
Trait Implementations§
source§impl Clone for AuditCommand
impl Clone for AuditCommand
source§fn clone(&self) -> AuditCommand
fn clone(&self) -> AuditCommand
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 AuditCommand
impl Debug for AuditCommand
source§impl<'de> Deserialize<'de> for AuditCommand
impl<'de> Deserialize<'de> for AuditCommand
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AuditCommand> for AuditCommand
impl PartialEq<AuditCommand> for AuditCommand
source§fn eq(&self, other: &AuditCommand) -> bool
fn eq(&self, other: &AuditCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuditCommand
impl Serialize for AuditCommand
impl Eq for AuditCommand
impl StructuralEq for AuditCommand
impl StructuralPartialEq for AuditCommand
Auto Trait Implementations§
impl RefUnwindSafe for AuditCommand
impl Send for AuditCommand
impl Sync for AuditCommand
impl Unpin for AuditCommand
impl UnwindSafe for AuditCommand
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