pub struct CollectionSelector {
pub collection_id: String,
pub all_descendants: Option<bool>,
}Expand description
A selection of a collection, such as messages as m1.
Fields§
§collection_id: StringThe collection ID.
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.
Trait Implementations§
Source§impl Clone for CollectionSelector
impl Clone for CollectionSelector
Source§fn clone(&self) -> CollectionSelector
fn clone(&self) -> CollectionSelector
Returns a duplicate 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<'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
Auto Trait Implementations§
impl Freeze for CollectionSelector
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