pub struct GooglePrivacyDlpV2beta1PathElement {
pub id: Option<i64>,
pub name: Option<String>,
pub kind: 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.
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 ""
.
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 ""
.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1PathElement
impl Clone for GooglePrivacyDlpV2beta1PathElement
source§fn clone(&self) -> GooglePrivacyDlpV2beta1PathElement
fn clone(&self) -> GooglePrivacyDlpV2beta1PathElement
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 Default for GooglePrivacyDlpV2beta1PathElement
impl Default for GooglePrivacyDlpV2beta1PathElement
source§fn default() -> GooglePrivacyDlpV2beta1PathElement
fn default() -> GooglePrivacyDlpV2beta1PathElement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1PathElement
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2beta1PathElement
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 GooglePrivacyDlpV2beta1PathElement
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2beta1PathElement
impl Send for GooglePrivacyDlpV2beta1PathElement
impl Sync for GooglePrivacyDlpV2beta1PathElement
impl Unpin for GooglePrivacyDlpV2beta1PathElement
impl UnwindSafe for GooglePrivacyDlpV2beta1PathElement
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