pub struct AuditResourceRef {
pub resource_type: String,
pub resource_id: String,
}Expand description
Opaque application resource identity. It never implies a database foreign key.
Fields§
§resource_type: String§resource_id: StringImplementations§
Trait Implementations§
Source§impl Clone for AuditResourceRef
impl Clone for AuditResourceRef
Source§fn clone(&self) -> AuditResourceRef
fn clone(&self) -> AuditResourceRef
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 AuditResourceRef
impl Debug for AuditResourceRef
Source§impl<'de> Deserialize<'de> for AuditResourceRef
impl<'de> Deserialize<'de> for AuditResourceRef
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
impl Eq for AuditResourceRef
Source§impl Ord for AuditResourceRef
impl Ord for AuditResourceRef
Source§fn cmp(&self, other: &AuditResourceRef) -> Ordering
fn cmp(&self, other: &AuditResourceRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuditResourceRef
impl PartialEq for AuditResourceRef
Source§impl PartialOrd for AuditResourceRef
impl PartialOrd for AuditResourceRef
Source§impl Serialize for AuditResourceRef
impl Serialize for AuditResourceRef
impl StructuralPartialEq for AuditResourceRef
Auto Trait Implementations§
impl Freeze for AuditResourceRef
impl RefUnwindSafe for AuditResourceRef
impl Send for AuditResourceRef
impl Sync for AuditResourceRef
impl Unpin for AuditResourceRef
impl UnsafeUnpin for AuditResourceRef
impl UnwindSafe for AuditResourceRef
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