[][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: Integer,
    pub date: Integer,
    pub text: String,
    pub reply_owner_id: Integer,
    pub reply_post_id: 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: Geo,
    pub signer_id: Option<Integer>,
    pub copy_history: Option<Vec<Post>>,
    pub can_pin: Integer,
    pub can_delete: Integer,
    pub can_edit: Integer,
    pub can_open: Boolean,
    pub can_close: Boolean,
    pub is_pinned: 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: Integerdate: Integertext: Stringreply_owner_id: Integerreply_post_id: Integerfriends_only: Option<Integer>comments: Commentslikes: Likesreposts: Repostsviews: Viewspost_type: Stringpost_source: Option<PostSource>attachments: Option<Vec<WallAttachment>>geo: Geosigner_id: Option<Integer>copy_history: Option<Vec<Post>>can_pin: Integercan_delete: Integercan_edit: Integercan_open: Booleancan_close: Booleanis_pinned: Integermarked_as_ads: Integeris_favorite: Option<Boolean>

Trait Implementations

impl Clone for Post[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Post[src]

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

Auto Trait Implementations

impl Send for Post

impl Unpin for Post

impl Sync for Post

impl UnwindSafe for Post

impl RefUnwindSafe for Post

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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