Struct vkrs::video::Video
[−]
[src]
pub struct Video { 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: Id
owner_id: OwnerId
album_id: Option<Id>
user_id: Option<Id>
title: String
duration: Duration
description: String
date: Timestamp
views: u32
comments: u32
photo_130: String
photo_320: String
photo_640: Option<String>
photo_800: Option<String>
adding_date: Option<Timestamp>
player: String
can_add: Bool
can_edit: Bool
can_report: Bool
can_comment: Bool
converting: Bool
repeat: Bool
files: Option<VideoFiles>
likes: Option<LikesCount>
placer_id: Option<Id>
tag_created: Option<Timestamp>
tag_id: Option<Id>
Trait Implementations
impl Eq for Video
[src]
impl PartialEq for Video
[src]
fn eq(&self, __arg_0: &Video) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Video) -> bool
This method tests for !=
.
impl Clone for Video
[src]
fn clone(&self) -> Video
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more