Struct google_dlp2::api::GooglePrivacyDlpV2Location
source · pub struct GooglePrivacyDlpV2Location {
pub byte_range: Option<GooglePrivacyDlpV2Range>,
pub codepoint_range: Option<GooglePrivacyDlpV2Range>,
pub container: Option<GooglePrivacyDlpV2Container>,
pub content_locations: Option<Vec<GooglePrivacyDlpV2ContentLocation>>,
}
Expand description
Specifies the location of the finding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§byte_range: Option<GooglePrivacyDlpV2Range>
Zero-based byte offsets delimiting the finding. These are relative to the finding’s containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.
codepoint_range: Option<GooglePrivacyDlpV2Range>
Unicode character offsets delimiting the finding. These are relative to the finding’s containing element. Provided when the content is text.
container: Option<GooglePrivacyDlpV2Container>
Information about the container where this finding occurred, if available.
content_locations: Option<Vec<GooglePrivacyDlpV2ContentLocation>>
List of nested objects pointing to the precise location of the finding within the file or record.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2Location
impl Clone for GooglePrivacyDlpV2Location
source§fn clone(&self) -> GooglePrivacyDlpV2Location
fn clone(&self) -> GooglePrivacyDlpV2Location
Returns a copy 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 GooglePrivacyDlpV2Location
impl Debug for GooglePrivacyDlpV2Location
source§impl Default for GooglePrivacyDlpV2Location
impl Default for GooglePrivacyDlpV2Location
source§fn default() -> GooglePrivacyDlpV2Location
fn default() -> GooglePrivacyDlpV2Location
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Location
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2Location
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 GooglePrivacyDlpV2Location
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2Location
impl Send for GooglePrivacyDlpV2Location
impl Sync for GooglePrivacyDlpV2Location
impl Unpin for GooglePrivacyDlpV2Location
impl UnwindSafe for GooglePrivacyDlpV2Location
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