pub struct ChatThemes {
pub hash: i64,
pub themes: Vec<ChatTheme>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
pub next_offset: Option<String>,
}Expand description
Generated from:
account.chatThemes#be098173 flags:# hash:long themes:Vector<ChatTheme> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = account.ChatThemesFields§
§hash: i64§themes: Vec<ChatTheme>§chats: Vec<Chat>§users: Vec<User>§next_offset: Option<String>Trait Implementations§
Source§impl Clone for ChatThemes
impl Clone for ChatThemes
Source§fn clone(&self) -> ChatThemes
fn clone(&self) -> ChatThemes
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 ChatThemes
impl Debug for ChatThemes
Source§impl Deserializable for ChatThemes
impl Deserializable for ChatThemes
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatThemes> for ChatThemes
impl From<ChatThemes> for ChatThemes
Source§fn from(x: ChatThemes) -> Self
fn from(x: ChatThemes) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatThemes
impl Identifiable for ChatThemes
Source§const CONSTRUCTOR_ID: u32 = 0xbe098173
const CONSTRUCTOR_ID: u32 = 0xbe098173
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatThemes
impl PartialEq for ChatThemes
Source§impl Serializable for ChatThemes
impl Serializable for ChatThemes
Source§impl TryFrom<ChatThemes> for ChatThemes
impl TryFrom<ChatThemes> for ChatThemes
Source§type Error = ChatThemes
type Error = ChatThemes
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatThemes
Auto Trait Implementations§
impl Freeze for ChatThemes
impl RefUnwindSafe for ChatThemes
impl Send for ChatThemes
impl Sync for ChatThemes
impl Unpin for ChatThemes
impl UnsafeUnpin for ChatThemes
impl UnwindSafe for ChatThemes
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