[][src]Struct rvk::objects::message::Message

pub struct Message {
    pub id: Integer,
    pub date: Integer,
    pub peer_id: Integer,
    pub from_id: Integer,
    pub text: Option<String>,
    pub random_id: Option<Integer>,
    pub ref_: Option<String>,
    pub ref_source: Option<Integer>,
    pub attachments: Option<Vec<MessageAttachment>>,
    pub important: Option<Boolean>,
    pub geo: Option<Geo>,
    pub payload: Option<String>,
    pub fwd_messages: Option<Vec<Message>>,
    pub reply_message: Option<Box<Message>>,
    pub action: Option<Action>,
    pub is_cropped: Option<Boolean>,
}

Fields

id: Integerdate: Integerpeer_id: Integerfrom_id: Integertext: Option<String>random_id: Option<Integer>ref_: Option<String>ref_source: Option<Integer>attachments: Option<Vec<MessageAttachment>>important: Option<Boolean>geo: Option<Geo>payload: Option<String>fwd_messages: Option<Vec<Message>>reply_message: Option<Box<Message>>action: Option<Action>is_cropped: Option<Boolean>

Trait Implementations

impl Clone for Message[src]

impl Debug for Message[src]

impl<'de> Deserialize<'de> for Message[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.