Struct google_datastore1::api::PathElement
source · pub struct PathElement {
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 ""
. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as __bytes__
where `` is the base-64 encoding of the bytes.
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 ""
. Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded as __bytes__
where `` is the base-64 encoding of the bytes.
Trait Implementations§
source§impl Clone for PathElement
impl Clone for PathElement
source§fn clone(&self) -> PathElement
fn clone(&self) -> PathElement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more