pub struct InputVenueMessageContent {
pub latitude: f32,
pub longitude: f32,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
pub foursquare_type: Option<String>,
}Fields§
§latitude: f32Latitude of the venue in degrees
longitude: f32Longitude of the venue in degrees
title: StringName of the venue
address: StringAddress of the venue
foursquare_id: Option<String>Foursquare identifier of the venue, if known
foursquare_type: Option<String>Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
Trait Implementations§
Source§impl Debug for InputVenueMessageContent
impl Debug for InputVenueMessageContent
Source§impl From<InputVenueMessageContent> for InputMessageContent
impl From<InputVenueMessageContent> for InputMessageContent
Source§fn from(value: InputVenueMessageContent) -> InputMessageContent
fn from(value: InputVenueMessageContent) -> InputMessageContent
Converts to this type from the input type.
Source§impl Serialize for InputVenueMessageContent
impl Serialize for InputVenueMessageContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for InputVenueMessageContent
impl RefUnwindSafe for InputVenueMessageContent
impl Send for InputVenueMessageContent
impl Sync for InputVenueMessageContent
impl Unpin for InputVenueMessageContent
impl UnwindSafe for InputVenueMessageContent
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