pub struct SearchGlobal {
pub broadcasts_only: bool,
pub groups_only: bool,
pub users_only: bool,
pub folder_id: Option<i32>,
pub q: String,
pub filter: MessagesFilter,
pub min_date: i32,
pub max_date: i32,
pub offset_rate: i32,
pub offset_peer: InputPeer,
pub offset_id: i32,
pub limit: i32,
}Expand description
Generated from:
messages.searchGlobal#4bc6589a flags:# broadcasts_only:flags.1?true groups_only:flags.2?true users_only:flags.3?true folder_id:flags.0?int q:string filter:MessagesFilter min_date:int max_date:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.MessagesFields§
§broadcasts_only: bool§groups_only: bool§users_only: bool§folder_id: Option<i32>§q: String§filter: MessagesFilter§min_date: i32§max_date: i32§offset_rate: i32§offset_peer: InputPeer§offset_id: i32§limit: i32Trait Implementations§
Source§impl Clone for SearchGlobal
impl Clone for SearchGlobal
Source§fn clone(&self) -> SearchGlobal
fn clone(&self) -> SearchGlobal
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 SearchGlobal
impl Debug for SearchGlobal
Source§impl Identifiable for SearchGlobal
impl Identifiable for SearchGlobal
Source§const CONSTRUCTOR_ID: u32 = 0x4bc6589a
const CONSTRUCTOR_ID: u32 = 0x4bc6589a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SearchGlobal
impl PartialEq for SearchGlobal
Source§impl RemoteCall for SearchGlobal
impl RemoteCall for SearchGlobal
Source§impl Serializable for SearchGlobal
impl Serializable for SearchGlobal
impl StructuralPartialEq for SearchGlobal
Auto Trait Implementations§
impl Freeze for SearchGlobal
impl RefUnwindSafe for SearchGlobal
impl Send for SearchGlobal
impl Sync for SearchGlobal
impl Unpin for SearchGlobal
impl UnsafeUnpin for SearchGlobal
impl UnwindSafe for SearchGlobal
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