pub struct InfoType {
pub name: Option<String>,
pub sensitivity_score: Option<SensitivityScore>,
pub version: Option<String>,
}Expand description
Type of information detected by the API.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.
sensitivity_score: Option<SensitivityScore>Optional custom sensitivity for this InfoType. This only applies to data profiling.
version: Option<String>Optional version name for this InfoType.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InfoType
impl<'de> Deserialize<'de> for InfoType
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 Part for InfoType
Auto Trait Implementations§
impl Freeze for InfoType
impl RefUnwindSafe for InfoType
impl Send for InfoType
impl Sync for InfoType
impl Unpin for InfoType
impl UnwindSafe for InfoType
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