Struct rust_tdlib::types::SearchPublicChat
source · pub struct SearchPublicChat { /* private fields */ }
Expand description
Searches a public chat by its username. Currently, only private chats, supergroups and channels can be public. Returns the chat if found; otherwise an error is returned
Implementations§
Trait Implementations§
source§impl AsRef<SearchPublicChat> for SearchPublicChat
impl AsRef<SearchPublicChat> for SearchPublicChat
source§fn as_ref(&self) -> &SearchPublicChat
fn as_ref(&self) -> &SearchPublicChat
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SearchPublicChat
impl Clone for SearchPublicChat
source§fn clone(&self) -> SearchPublicChat
fn clone(&self) -> SearchPublicChat
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 SearchPublicChat
impl Debug for SearchPublicChat
source§impl Default for SearchPublicChat
impl Default for SearchPublicChat
source§fn default() -> SearchPublicChat
fn default() -> SearchPublicChat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SearchPublicChat
impl<'de> Deserialize<'de> for SearchPublicChat
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