pub struct MessageViews {
pub views: Vec<MessageViews>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
Generated from:
messages.messageViews#b6c4f543 views:Vector<MessageViews> chats:Vector<Chat> users:Vector<User> = messages.MessageViewsFields§
§views: Vec<MessageViews>§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for MessageViews
impl Clone for MessageViews
Source§fn clone(&self) -> MessageViews
fn clone(&self) -> MessageViews
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 MessageViews
impl Debug for MessageViews
Source§impl Deserializable for MessageViews
impl Deserializable for MessageViews
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<MessageViews> for MessageViews
impl From<MessageViews> for MessageViews
Source§fn from(x: MessageViews) -> Self
fn from(x: MessageViews) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageViews
impl Identifiable for MessageViews
Source§const CONSTRUCTOR_ID: u32 = 0xb6c4f543
const CONSTRUCTOR_ID: u32 = 0xb6c4f543
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageViews
impl PartialEq for MessageViews
Source§impl Serializable for MessageViews
impl Serializable for MessageViews
Source§impl TryFrom<MessageViews> for MessageViews
impl TryFrom<MessageViews> for MessageViews
Source§type Error = MessageViews
type Error = MessageViews
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageViews
Auto Trait Implementations§
impl Freeze for MessageViews
impl RefUnwindSafe for MessageViews
impl Send for MessageViews
impl Sync for MessageViews
impl Unpin for MessageViews
impl UnsafeUnpin for MessageViews
impl UnwindSafe for MessageViews
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