Struct vkrs::api::Comment
[−]
[src]
pub struct Comment { pub id: Id, pub from_id: Id, pub date: Timestamp, pub text: String, pub likes: Option<LikesCount>, }
Fields
id: Id
from_id: Id
date: Timestamp
text: String
likes: Option<LikesCount>
Trait Implementations
impl Eq for Comment
[src]
impl PartialEq for Comment
[src]
fn eq(&self, __arg_0: &Comment) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Comment) -> bool
This method tests for !=
.
impl Clone for Comment
[src]
fn clone(&self) -> Comment
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