Struct peertube::data::User [−][src]
pub struct User {}Show fields
pub id: u32, pub username: String, pub email: String, pub plugin_auth: Option<String>, pub theme: String, pub email_verified: Option<bool>, pub nsfw_policy: String, pub web_torrent_enabled: bool, pub auto_play_video: bool, pub role: Role, pub role_label: String, pub video_quota: i64, pub video_quota_daily: i64, pub no_instance_config_warning_modal: bool, pub no_welcome_modal: bool, pub blocked: bool, pub blocked_reason: Option<String>, pub created_at: DateTime<Utc>, pub account: Account, pub video_channels: Vec<Channel>,
Fields
id: u32
username: String
email: String
plugin_auth: Option<String>
theme: String
email_verified: Option<bool>
nsfw_policy: String
web_torrent_enabled: bool
auto_play_video: bool
role: Role
role_label: String
video_quota: i64
video_quota_daily: i64
no_instance_config_warning_modal: bool
no_welcome_modal: bool
blocked: bool
blocked_reason: Option<String>
created_at: DateTime<Utc>
account: Account
video_channels: Vec<Channel>
Trait Implementations
impl<'de> Deserialize<'de> for User
[src]
impl<'de> Deserialize<'de> for User
[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 User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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>,