pub struct AuditRequestValues { /* private fields */ }Expand description
Low-level request-scoped audit values.
Most applications can use with_audit_values(Audit { ... }) with a struct
derived from AuditFields. This type remains available for callers that
need to construct ColumnValues manually.
Implementations§
Source§impl AuditRequestValues
impl AuditRequestValues
Sourcepub fn new(values: Vec<ColumnValue>) -> Self
pub fn new(values: Vec<ColumnValue>) -> Self
Creates request-scoped audit values from explicit column values.
Sourcepub fn values(&self) -> &[ColumnValue]
pub fn values(&self) -> &[ColumnValue]
Returns the raw audit column values.
Trait Implementations§
Source§impl Clone for AuditRequestValues
impl Clone for AuditRequestValues
Source§fn clone(&self) -> AuditRequestValues
fn clone(&self) -> AuditRequestValues
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 moreSource§impl Debug for AuditRequestValues
impl Debug for AuditRequestValues
Source§impl Default for AuditRequestValues
impl Default for AuditRequestValues
Source§fn default() -> AuditRequestValues
fn default() -> AuditRequestValues
Returns the “default value” for a type. Read more
Source§impl PartialEq for AuditRequestValues
impl PartialEq for AuditRequestValues
Source§fn eq(&self, other: &AuditRequestValues) -> bool
fn eq(&self, other: &AuditRequestValues) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuditRequestValues
Auto Trait Implementations§
impl Freeze for AuditRequestValues
impl RefUnwindSafe for AuditRequestValues
impl Send for AuditRequestValues
impl Sync for AuditRequestValues
impl Unpin for AuditRequestValues
impl UnsafeUnpin for AuditRequestValues
impl UnwindSafe for AuditRequestValues
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