Struct matrix_sdk_base::ruma::api::client::search::search_events::v3::Groupings
#[non_exhaustive]pub struct Groupings {
pub group_by: Vec<Grouping>,
}
Available on crate feature
api
and (crate features client
or server
) only.Expand description
Requests that the server partitions the result set based on the provided list of keys.
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.group_by: Vec<Grouping>
List of groups to request.
Implementations§
Trait Implementations§
§impl<'de> Deserialize<'de> for Groupings
impl<'de> Deserialize<'de> for Groupings
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Groupings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Groupings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Groupings
impl Serialize for Groupings
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Groupings
impl Send for Groupings
impl Sync for Groupings
impl Unpin for Groupings
impl UnwindSafe for Groupings
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