pub struct PublicChatTypeHasUsername { /* private fields */ }
Expand description
The chat is public, because it has username
Implementations§
Trait Implementations§
Source§impl AsRef<PublicChatTypeHasUsername> for PublicChatTypeHasUsername
impl AsRef<PublicChatTypeHasUsername> for PublicChatTypeHasUsername
Source§fn as_ref(&self) -> &PublicChatTypeHasUsername
fn as_ref(&self) -> &PublicChatTypeHasUsername
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for PublicChatTypeHasUsername
impl Clone for PublicChatTypeHasUsername
Source§fn clone(&self) -> PublicChatTypeHasUsername
fn clone(&self) -> PublicChatTypeHasUsername
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 PublicChatTypeHasUsername
impl Debug for PublicChatTypeHasUsername
Source§impl Default for PublicChatTypeHasUsername
impl Default for PublicChatTypeHasUsername
Source§fn default() -> PublicChatTypeHasUsername
fn default() -> PublicChatTypeHasUsername
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicChatTypeHasUsername
impl<'de> Deserialize<'de> for PublicChatTypeHasUsername
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
impl TDPublicChatType for PublicChatTypeHasUsername
Auto Trait Implementations§
impl Freeze for PublicChatTypeHasUsername
impl RefUnwindSafe for PublicChatTypeHasUsername
impl Send for PublicChatTypeHasUsername
impl Sync for PublicChatTypeHasUsername
impl Unpin for PublicChatTypeHasUsername
impl UnwindSafe for PublicChatTypeHasUsername
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