#[non_exhaustive]pub struct QueryGroup {
pub column: QueryColumn,
pub bucket: Option<QueryGroupBucket>,
pub name: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.column: QueryColumn§bucket: Option<QueryGroupBucket>§name: Option<String>Implementations§
Source§impl QueryGroup
impl QueryGroup
pub fn new(column: QueryColumn) -> Self
pub fn bucket(self, bucket: QueryGroupBucket) -> Self
pub fn name(self, name: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for QueryGroup
impl Clone for QueryGroup
Source§impl Debug for QueryGroup
impl Debug for QueryGroup
Source§impl<'de> Deserialize<'de> for QueryGroup
impl<'de> Deserialize<'de> for QueryGroup
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 PartialEq for QueryGroup
impl PartialEq for QueryGroup
Source§impl Serialize for QueryGroup
impl Serialize for QueryGroup
impl StructuralPartialEq for QueryGroup
Auto Trait Implementations§
impl Forget for QueryGroup
impl Freeze for QueryGroup
impl Move for QueryGroup
impl RefUnwindSafe for QueryGroup
impl Send for QueryGroup
impl Sync for QueryGroup
impl Unpin for QueryGroup
impl UnsafeUnpin for QueryGroup
impl UnwindSafe for QueryGroup
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