Struct peertube::data::Comment [−][src]
pub struct Comment {}Show fields
pub account: Option<Account>, pub created_at: DateTime<Utc>, pub id: u32, pub in_reply_to_comment_id: Option<u32>, pub text: String, pub thread_id: u32, pub total_replies: u32, pub total_replies_from_video_author: u32, pub is_deleted: bool, pub deleted_at: Option<DateTime<Utc>>, pub updated_at: DateTime<Utc>, pub url: String, pub video_id: u32,
Fields
account: Option<Account>
created_at: DateTime<Utc>
id: u32
in_reply_to_comment_id: Option<u32>
text: String
thread_id: u32
total_replies: u32
is_deleted: bool
deleted_at: Option<DateTime<Utc>>
updated_at: DateTime<Utc>
url: String
video_id: u32
Trait Implementations
impl<'de> Deserialize<'de> for Comment
[src]
impl<'de> Deserialize<'de> for Comment
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,