Struct vkrs::video::Video

source ·
pub struct Video {
Show 27 fields pub id: Id, pub owner_id: OwnerId, pub album_id: Option<Id>, pub user_id: Option<Id>, pub title: String, pub duration: Duration, pub description: String, pub date: Timestamp, pub views: u32, pub comments: u32, pub photo_130: String, pub photo_320: String, pub photo_640: Option<String>, pub photo_800: Option<String>, pub adding_date: Option<Timestamp>, pub player: String, pub can_add: Bool, pub can_edit: Bool, pub can_report: Bool, pub can_comment: Bool, pub converting: Bool, pub repeat: Bool, pub files: Option<VideoFiles>, pub likes: Option<LikesCount>, pub placer_id: Option<Id>, pub tag_created: Option<Timestamp>, pub tag_id: Option<Id>,
}

Fields

id: Idowner_id: OwnerIdalbum_id: Option<Id>user_id: Option<Id>title: Stringduration: Durationdescription: Stringdate: Timestampviews: u32comments: u32photo_130: Stringphoto_320: Stringphoto_640: Option<String>photo_800: Option<String>adding_date: Option<Timestamp>player: Stringcan_add: Boolcan_edit: Boolcan_report: Boolcan_comment: Boolconverting: Boolrepeat: Boolfiles: Option<VideoFiles>likes: Option<LikesCount>placer_id: Option<Id>tag_created: Option<Timestamp>tag_id: Option<Id>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

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

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
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.