[][src]Struct rvk::objects::post::Post

pub struct Post {
    pub id: Integer,
    pub owner_id: Option<Integer>,
    pub to_id: Option<Integer>,
    pub from_id: Integer,
    pub created_by: Option<Integer>,
    pub date: Integer,
    pub text: String,
    pub reply_owner_id: Option<Integer>,
    pub reply_post_id: Option<Integer>,
    pub friends_only: Option<Integer>,
    pub comments: Comments,
    pub likes: Likes,
    pub reposts: Reposts,
    pub views: Views,
    pub post_type: String,
    pub post_source: Option<PostSource>,
    pub attachments: Option<Vec<WallAttachment>>,
    pub geo: Option<Geo>,
    pub signer_id: Option<Integer>,
    pub copy_history: Option<Vec<Post>>,
    pub can_pin: Option<Integer>,
    pub can_delete: Option<Integer>,
    pub can_edit: Option<Integer>,
    pub can_open: Option<Boolean>,
    pub can_close: Option<Boolean>,
    pub is_pinned: Option<Integer>,
    pub marked_as_ads: Integer,
    pub is_favorite: Option<Boolean>,
}

Fields

id: Integerowner_id: Option<Integer>to_id: Option<Integer>from_id: Integercreated_by: Option<Integer>date: Integertext: Stringreply_owner_id: Option<Integer>reply_post_id: Option<Integer>friends_only: Option<Integer>comments: Commentslikes: Likesreposts: Repostsviews: Viewspost_type: Stringpost_source: Option<PostSource>attachments: Option<Vec<WallAttachment>>geo: Option<Geo>signer_id: Option<Integer>copy_history: Option<Vec<Post>>can_pin: Option<Integer>can_delete: Option<Integer>can_edit: Option<Integer>can_open: Option<Boolean>can_close: Option<Boolean>is_pinned: Option<Integer>marked_as_ads: Integeris_favorite: Option<Boolean>

Trait Implementations

impl Clone for Post[src]

impl Debug for Post[src]

impl<'de> Deserialize<'de> for Post[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.