Struct frankenstein::api_params::EditMessageLiveLocationParams [−][src]
pub struct EditMessageLiveLocationParams { pub chat_id: Option<ChatIdEnum>, pub message_id: Option<isize>, pub inline_message_id: Option<String>, pub latitude: f64, pub longitude: f64, pub horizontal_accuracy: Option<f64>, pub heading: Option<isize>, pub proximity_alert_radius: Option<isize>, pub reply_markup: Option<InlineKeyboardMarkup>, }
Fields
chat_id: Option<ChatIdEnum>
message_id: Option<isize>
inline_message_id: Option<String>
latitude: f64
longitude: f64
horizontal_accuracy: Option<f64>
heading: Option<isize>
proximity_alert_radius: Option<isize>
reply_markup: Option<InlineKeyboardMarkup>
Implementations
impl EditMessageLiveLocationParams
[src]
impl EditMessageLiveLocationParams
[src]pub fn new(latitude: f64, longitude: f64) -> Self
[src]
pub fn set_latitude(&mut self, latitude: f64)
[src]
pub fn set_longitude(&mut self, longitude: f64)
[src]
pub fn set_chat_id(&mut self, chat_id: Option<ChatIdEnum>)
[src]
pub fn set_message_id(&mut self, message_id: Option<isize>)
[src]
pub fn set_inline_message_id(&mut self, inline_message_id: Option<String>)
[src]
pub fn set_horizontal_accuracy(&mut self, horizontal_accuracy: Option<f64>)
[src]
pub fn set_heading(&mut self, heading: Option<isize>)
[src]
pub fn set_proximity_alert_radius(
&mut self,
proximity_alert_radius: Option<isize>
)
[src]
&mut self,
proximity_alert_radius: Option<isize>
)
pub fn set_reply_markup(&mut self, reply_markup: Option<InlineKeyboardMarkup>)
[src]
pub fn latitude(&self) -> f64
[src]
pub fn longitude(&self) -> f64
[src]
pub fn chat_id(&self) -> Option<ChatIdEnum>
[src]
pub fn message_id(&self) -> Option<isize>
[src]
pub fn inline_message_id(&self) -> Option<String>
[src]
pub fn horizontal_accuracy(&self) -> Option<f64>
[src]
pub fn heading(&self) -> Option<isize>
[src]
pub fn proximity_alert_radius(&self) -> Option<isize>
[src]
pub fn reply_markup(&self) -> Option<InlineKeyboardMarkup>
[src]
Trait Implementations
impl Clone for EditMessageLiveLocationParams
[src]
impl Clone for EditMessageLiveLocationParams
[src]fn clone(&self) -> EditMessageLiveLocationParams
[src]
fn clone(&self) -> EditMessageLiveLocationParams
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for EditMessageLiveLocationParams
[src]
impl Debug for EditMessageLiveLocationParams
[src]impl<'de> Deserialize<'de> for EditMessageLiveLocationParams
[src]
impl<'de> Deserialize<'de> for EditMessageLiveLocationParams
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<EditMessageLiveLocationParams> for EditMessageLiveLocationParams
[src]
impl PartialEq<EditMessageLiveLocationParams> for EditMessageLiveLocationParams
[src]fn eq(&self, other: &EditMessageLiveLocationParams) -> bool
[src]
fn eq(&self, other: &EditMessageLiveLocationParams) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &EditMessageLiveLocationParams) -> bool
[src]
fn ne(&self, other: &EditMessageLiveLocationParams) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for EditMessageLiveLocationParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for EditMessageLiveLocationParams
impl Send for EditMessageLiveLocationParams
impl Sync for EditMessageLiveLocationParams
impl Unpin for EditMessageLiveLocationParams
impl UnwindSafe for EditMessageLiveLocationParams
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> UnsafeAny for T where
T: Any,
T: Any,