Struct google_firestore1_beta1::api::CollectionSelector
source · pub struct CollectionSelector {
pub all_descendants: Option<bool>,
pub collection_id: Option<String>,
}
Expand description
A selection of a collection, such as messages as m1
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§all_descendants: Option<bool>
When false, selects only collections that are immediate children of the parent
specified in the containing RunQueryRequest
. When true, selects all descendant collections.
collection_id: Option<String>
The collection ID. When set, selects only collections with this ID.
Trait Implementations§
source§impl Clone for CollectionSelector
impl Clone for CollectionSelector
source§fn clone(&self) -> CollectionSelector
fn clone(&self) -> CollectionSelector
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 Debug for CollectionSelector
impl Debug for CollectionSelector
source§impl Default for CollectionSelector
impl Default for CollectionSelector
source§fn default() -> CollectionSelector
fn default() -> CollectionSelector
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CollectionSelector
impl<'de> Deserialize<'de> for CollectionSelector
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
source§impl Serialize for CollectionSelector
impl Serialize for CollectionSelector
impl Part for CollectionSelector
Auto Trait Implementations§
impl RefUnwindSafe for CollectionSelector
impl Send for CollectionSelector
impl Sync for CollectionSelector
impl Unpin for CollectionSelector
impl UnwindSafe for CollectionSelector
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