Struct rust_tdlib::types::SearchPublicChats
source · pub struct SearchPublicChats { /* private fields */ }
Expand description
Searches public chats by looking for specified query in their username and title. Currently, only private chats, supergroups and channels can be public. Returns a meaningful number of results. Excludes private chats with contacts and chats from the chat list from the results
Implementations§
Trait Implementations§
source§impl AsRef<SearchPublicChats> for SearchPublicChats
impl AsRef<SearchPublicChats> for SearchPublicChats
source§fn as_ref(&self) -> &SearchPublicChats
fn as_ref(&self) -> &SearchPublicChats
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SearchPublicChats
impl Clone for SearchPublicChats
source§fn clone(&self) -> SearchPublicChats
fn clone(&self) -> SearchPublicChats
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 SearchPublicChats
impl Debug for SearchPublicChats
source§impl Default for SearchPublicChats
impl Default for SearchPublicChats
source§fn default() -> SearchPublicChats
fn default() -> SearchPublicChats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SearchPublicChats
impl<'de> Deserialize<'de> for SearchPublicChats
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