Struct google_datastore1::GoogleDatastoreAdminV1EntityFilter [−][src]
pub struct GoogleDatastoreAdminV1EntityFilter { pub kinds: Option<Vec<String>>, pub namespace_ids: Option<Vec<String>>, }
Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage:
Entire project: kinds=[], namespace_ids=[]
Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[]
Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=['']
Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
The entire Baz namespace: kinds=[], namespace_ids=['Baz']
This type is not used in any activity, and only used as part of another schema.
Fields
kinds: Option<Vec<String>>
If empty, then this represents all kinds.
namespace_ids: Option<Vec<String>>
An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces.
An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
Trait Implementations
impl Default for GoogleDatastoreAdminV1EntityFilter
[src]
impl Default for GoogleDatastoreAdminV1EntityFilter
fn default() -> GoogleDatastoreAdminV1EntityFilter
[src]
fn default() -> GoogleDatastoreAdminV1EntityFilter
Returns the "default value" for a type. Read more
impl Clone for GoogleDatastoreAdminV1EntityFilter
[src]
impl Clone for GoogleDatastoreAdminV1EntityFilter
fn clone(&self) -> GoogleDatastoreAdminV1EntityFilter
[src]
fn clone(&self) -> GoogleDatastoreAdminV1EntityFilter
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 GoogleDatastoreAdminV1EntityFilter
[src]
impl Debug for GoogleDatastoreAdminV1EntityFilter
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 GoogleDatastoreAdminV1EntityFilter
[src]
impl Part for GoogleDatastoreAdminV1EntityFilter
Auto Trait Implementations
impl Send for GoogleDatastoreAdminV1EntityFilter
impl Send for GoogleDatastoreAdminV1EntityFilter
impl Sync for GoogleDatastoreAdminV1EntityFilter
impl Sync for GoogleDatastoreAdminV1EntityFilter