#[non_exhaustive]pub struct ChatQueryInput {
pub filter_kind: Option<ChatKind>,
pub filter_muted: Option<bool>,
pub position: Option<u64>,
pub limit: Option<u64>,
}Expand description
Input parameters for Chat/query.
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.filter_kind: Option<ChatKind>Filter to chats of the given kind (direct, group, or channel).
filter_muted: Option<bool>Filter to muted (true) or unmuted (false) chats.
position: Option<u64>Zero-based starting offset within the query result.
limit: Option<u64>Maximum number of ids to return.
Trait Implementations§
Source§impl Debug for ChatQueryInput
impl Debug for ChatQueryInput
Source§impl Default for ChatQueryInput
impl Default for ChatQueryInput
Source§fn default() -> ChatQueryInput
fn default() -> ChatQueryInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChatQueryInput
impl RefUnwindSafe for ChatQueryInput
impl Send for ChatQueryInput
impl Sync for ChatQueryInput
impl Unpin for ChatQueryInput
impl UnsafeUnpin for ChatQueryInput
impl UnwindSafe for ChatQueryInput
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