pub struct InputMediaGeoLive {
pub stopped: bool,
pub geo_point: InputGeoPoint,
pub heading: Option<i32>,
pub period: Option<i32>,
pub proximity_notification_radius: Option<i32>,
}Expand description
Generated from:
inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMediaFields§
§stopped: bool§geo_point: InputGeoPoint§heading: Option<i32>§period: Option<i32>§proximity_notification_radius: Option<i32>Trait Implementations§
Source§impl Clone for InputMediaGeoLive
impl Clone for InputMediaGeoLive
Source§fn clone(&self) -> InputMediaGeoLive
fn clone(&self) -> InputMediaGeoLive
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 InputMediaGeoLive
impl Debug for InputMediaGeoLive
Source§impl Deserializable for InputMediaGeoLive
impl Deserializable for InputMediaGeoLive
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<InputMediaGeoLive> for InputMedia
impl From<InputMediaGeoLive> for InputMedia
Source§fn from(x: InputMediaGeoLive) -> Self
fn from(x: InputMediaGeoLive) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaGeoLive
impl Identifiable for InputMediaGeoLive
Source§const CONSTRUCTOR_ID: u32 = 0x971fa843
const CONSTRUCTOR_ID: u32 = 0x971fa843
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaGeoLive
impl PartialEq for InputMediaGeoLive
Source§impl Serializable for InputMediaGeoLive
impl Serializable for InputMediaGeoLive
Source§impl TryFrom<InputMedia> for InputMediaGeoLive
impl TryFrom<InputMedia> for InputMediaGeoLive
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaGeoLive
Auto Trait Implementations§
impl Freeze for InputMediaGeoLive
impl RefUnwindSafe for InputMediaGeoLive
impl Send for InputMediaGeoLive
impl Sync for InputMediaGeoLive
impl Unpin for InputMediaGeoLive
impl UnsafeUnpin for InputMediaGeoLive
impl UnwindSafe for InputMediaGeoLive
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