pub struct GooglePrivacyDlpV2PathElement {
pub id: Option<i64>,
pub kind: Option<String>,
pub name: Option<String>,
}Expand description
A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<i64>The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.
kind: Option<String>The kind of the entity. A kind matching regex __.*__ is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be "".
name: Option<String>The name of the entity. A name matching regex __.*__ is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be "".
Trait Implementations§
Source§impl Clone for GooglePrivacyDlpV2PathElement
impl Clone for GooglePrivacyDlpV2PathElement
Source§fn clone(&self) -> GooglePrivacyDlpV2PathElement
fn clone(&self) -> GooglePrivacyDlpV2PathElement
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 Default for GooglePrivacyDlpV2PathElement
impl Default for GooglePrivacyDlpV2PathElement
Source§fn default() -> GooglePrivacyDlpV2PathElement
fn default() -> GooglePrivacyDlpV2PathElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2PathElement
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2PathElement
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 GooglePrivacyDlpV2PathElement
Auto Trait Implementations§
impl Freeze for GooglePrivacyDlpV2PathElement
impl RefUnwindSafe for GooglePrivacyDlpV2PathElement
impl Send for GooglePrivacyDlpV2PathElement
impl Sync for GooglePrivacyDlpV2PathElement
impl Unpin for GooglePrivacyDlpV2PathElement
impl UnwindSafe for GooglePrivacyDlpV2PathElement
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