Struct peertube::data::Account [−][src]
pub struct Account { pub url: String, pub name: String, pub host: String, pub avatar: Option<Avatar>, pub id: u32, pub host_redundancy_allowed: Option<bool>, pub following_count: u32, pub followers_count: u32, pub created_at: DateTime<Utc>, pub updated_at: DateTime<Utc>, pub display_name: String, pub description: Option<String>, }
Fields
url: String
name: String
host: String
avatar: Option<Avatar>
id: u32
host_redundancy_allowed: Option<bool>
following_count: u32
followers_count: u32
created_at: DateTime<Utc>
updated_at: DateTime<Utc>
display_name: String
description: Option<String>
Trait Implementations
impl<'de> Deserialize<'de> for Account
[src]
impl<'de> Deserialize<'de> for Account
[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 Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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>,