pub struct MessageMediaGeoLive {
pub geo: GeoPoint,
pub heading: Option<i32>,
pub period: i32,
pub proximity_notification_radius: Option<i32>,
}Expand description
Generated from:
messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMediaFields§
§geo: GeoPoint§heading: Option<i32>§period: i32§proximity_notification_radius: Option<i32>Trait Implementations§
Source§impl Clone for MessageMediaGeoLive
impl Clone for MessageMediaGeoLive
Source§fn clone(&self) -> MessageMediaGeoLive
fn clone(&self) -> MessageMediaGeoLive
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 MessageMediaGeoLive
impl Debug for MessageMediaGeoLive
Source§impl Deserializable for MessageMediaGeoLive
impl Deserializable for MessageMediaGeoLive
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<MessageMediaGeoLive> for MessageMedia
impl From<MessageMediaGeoLive> for MessageMedia
Source§fn from(x: MessageMediaGeoLive) -> Self
fn from(x: MessageMediaGeoLive) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageMediaGeoLive
impl Identifiable for MessageMediaGeoLive
Source§const CONSTRUCTOR_ID: u32 = 0xb940c666
const CONSTRUCTOR_ID: u32 = 0xb940c666
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageMediaGeoLive
impl PartialEq for MessageMediaGeoLive
Source§impl Serializable for MessageMediaGeoLive
impl Serializable for MessageMediaGeoLive
Source§impl TryFrom<MessageMedia> for MessageMediaGeoLive
impl TryFrom<MessageMedia> for MessageMediaGeoLive
Source§type Error = MessageMedia
type Error = MessageMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageMediaGeoLive
Auto Trait Implementations§
impl Freeze for MessageMediaGeoLive
impl RefUnwindSafe for MessageMediaGeoLive
impl Send for MessageMediaGeoLive
impl Sync for MessageMediaGeoLive
impl Unpin for MessageMediaGeoLive
impl UnsafeUnpin for MessageMediaGeoLive
impl UnwindSafe for MessageMediaGeoLive
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