pub struct DataProfileFinding {
pub quote: String,
pub infotype: Option<InfoType>,
pub quote_info: Option<QuoteInfo>,
pub data_profile_resource_name: String,
pub finding_id: String,
pub timestamp: Option<Timestamp>,
pub location: Option<DataProfileFindingLocation>,
pub resource_visibility: i32,
}
Expand description
Details about a piece of potentially sensitive information that was detected when the data resource was profiled.
Fields§
§quote: String
The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.
infotype: Option<InfoType>
The type of content that might have been found.
quote_info: Option<QuoteInfo>
Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.
data_profile_resource_name: String
Resource name of the data profile associated with the finding.
finding_id: String
A unique identifier for the finding.
timestamp: Option<Timestamp>
Timestamp when the finding was detected.
location: Option<DataProfileFindingLocation>
Where the content was found.
resource_visibility: i32
How broadly a resource has been shared.
Implementations§
Source§impl DataProfileFinding
impl DataProfileFinding
Sourcepub fn resource_visibility(&self) -> ResourceVisibility
pub fn resource_visibility(&self) -> ResourceVisibility
Returns the enum value of resource_visibility
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_resource_visibility(&mut self, value: ResourceVisibility)
pub fn set_resource_visibility(&mut self, value: ResourceVisibility)
Sets resource_visibility
to the provided enum value.
Trait Implementations§
Source§impl Clone for DataProfileFinding
impl Clone for DataProfileFinding
Source§fn clone(&self) -> DataProfileFinding
fn clone(&self) -> DataProfileFinding
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DataProfileFinding
impl Debug for DataProfileFinding
Source§impl Default for DataProfileFinding
impl Default for DataProfileFinding
Source§impl Message for DataProfileFinding
impl Message for DataProfileFinding
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.Source§impl PartialEq for DataProfileFinding
impl PartialEq for DataProfileFinding
impl StructuralPartialEq for DataProfileFinding
Auto Trait Implementations§
impl Freeze for DataProfileFinding
impl RefUnwindSafe for DataProfileFinding
impl Send for DataProfileFinding
impl Sync for DataProfileFinding
impl Unpin for DataProfileFinding
impl UnwindSafe for DataProfileFinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request