Struct rvk::objects::post::Post

source ·
pub struct Post {
Show 27 fields 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,
}
Expand description

Fields§

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

Trait Implementations§

source§

impl Clone for Post

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
source§

impl Debug for Post

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Post

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Post

§

impl Send for Post

§

impl Sync for Post

§

impl Unpin for Post

§

impl UnwindSafe for Post

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere
    T: Clone,

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source§

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

The type returned in the event of a conversion error.
Performs the conversion.
§

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

source§

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,