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

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 "".

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 "".

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]

Returns the "default value" for a type. Read more

impl Clone for PathElement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PathElement
[src]

Formats the value using the given formatter. Read more

impl Part for PathElement
[src]

Auto Trait Implementations

impl Send for PathElement

impl Sync for PathElement