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