pub struct MessageMediaVenue {
pub geo: GeoPoint,
pub title: String,
pub address: String,
pub provider: String,
pub venue_id: String,
pub venue_type: String,
}Expand description
Generated from:
messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMediaFields§
§geo: GeoPoint§title: String§address: String§provider: String§venue_id: String§venue_type: StringTrait Implementations§
Source§impl Clone for MessageMediaVenue
impl Clone for MessageMediaVenue
Source§fn clone(&self) -> MessageMediaVenue
fn clone(&self) -> MessageMediaVenue
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 MessageMediaVenue
impl Debug for MessageMediaVenue
Source§impl Deserializable for MessageMediaVenue
impl Deserializable for MessageMediaVenue
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<MessageMediaVenue> for MessageMedia
impl From<MessageMediaVenue> for MessageMedia
Source§fn from(x: MessageMediaVenue) -> Self
fn from(x: MessageMediaVenue) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageMediaVenue
impl Identifiable for MessageMediaVenue
Source§const CONSTRUCTOR_ID: u32 = 0x2ec0533f
const CONSTRUCTOR_ID: u32 = 0x2ec0533f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageMediaVenue
impl PartialEq for MessageMediaVenue
Source§impl Serializable for MessageMediaVenue
impl Serializable for MessageMediaVenue
Source§impl TryFrom<MessageMedia> for MessageMediaVenue
impl TryFrom<MessageMedia> for MessageMediaVenue
Source§type Error = MessageMedia
type Error = MessageMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageMediaVenue
Auto Trait Implementations§
impl Freeze for MessageMediaVenue
impl RefUnwindSafe for MessageMediaVenue
impl Send for MessageMediaVenue
impl Sync for MessageMediaVenue
impl Unpin for MessageMediaVenue
impl UnsafeUnpin for MessageMediaVenue
impl UnwindSafe for MessageMediaVenue
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