pub struct SearchChats { /* private fields */ }
Expand description
Searches for the specified query in the title and username of already known chats, this is an offline request. Returns chats in the order seen in the main chat list
Implementations§
Trait Implementations§
Source§impl AsRef<SearchChats> for SearchChats
impl AsRef<SearchChats> for SearchChats
Source§fn as_ref(&self) -> &SearchChats
fn as_ref(&self) -> &SearchChats
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SearchChats
impl Clone for SearchChats
Source§fn clone(&self) -> SearchChats
fn clone(&self) -> SearchChats
Returns a copy 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 SearchChats
impl Debug for SearchChats
Source§impl Default for SearchChats
impl Default for SearchChats
Source§fn default() -> SearchChats
fn default() -> SearchChats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchChats
impl<'de> Deserialize<'de> for SearchChats
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 SearchChats
impl RefUnwindSafe for SearchChats
impl Send for SearchChats
impl Sync for SearchChats
impl Unpin for SearchChats
impl UnwindSafe for SearchChats
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