pub struct DataClassificationEntry {
pub category: String,
pub action: String,
}Expand description
A data classification entry within a channel definition.
Fields§
§category: StringCategory label (e.g. “pii”, “phi”, “api_key”).
action: StringAction to take: “redact”, “block”, “allow”.
Trait Implementations§
Source§impl Clone for DataClassificationEntry
impl Clone for DataClassificationEntry
Source§fn clone(&self) -> DataClassificationEntry
fn clone(&self) -> DataClassificationEntry
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 moreSource§impl Debug for DataClassificationEntry
impl Debug for DataClassificationEntry
Source§impl<'de> Deserialize<'de> for DataClassificationEntry
impl<'de> Deserialize<'de> for DataClassificationEntry
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 for DataClassificationEntry
impl PartialEq for DataClassificationEntry
Source§impl Serialize for DataClassificationEntry
impl Serialize for DataClassificationEntry
impl StructuralPartialEq for DataClassificationEntry
Auto Trait Implementations§
impl Freeze for DataClassificationEntry
impl RefUnwindSafe for DataClassificationEntry
impl Send for DataClassificationEntry
impl Sync for DataClassificationEntry
impl Unpin for DataClassificationEntry
impl UnsafeUnpin for DataClassificationEntry
impl UnwindSafe for DataClassificationEntry
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