Struct google_datastore1::PathElement [−][src]
pub struct PathElement { pub kind: Option<String>, pub name: Option<String>, pub id: Option<String>, }
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
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 ""
.
id: Option<String>
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.
Trait Implementations
impl Default for PathElement
[src]
impl Default for PathElement
fn default() -> PathElement
[src]
fn default() -> PathElement
Returns the "default value" for a type. Read more
impl Clone for PathElement
[src]
impl Clone for PathElement
fn clone(&self) -> PathElement
[src]
fn clone(&self) -> PathElement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PathElement
[src]
impl Debug for PathElement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PathElement
[src]
impl Part for PathElement
Auto Trait Implementations
impl Send for PathElement
impl Send for PathElement
impl Sync for PathElement
impl Sync for PathElement