Struct peertube::param::NewUser [−][src]
pub struct NewUser { pub email: String, pub password: String, pub role: Role, pub username: String, pub video_quota: i32, pub video_quota_daily: i32, pub admin_flags: AdminFlag, pub channel_name: Option<String>, }
Fields
email: String
password: String
role: Role
username: String
video_quota: i32
video_quota_daily: i32
admin_flags: AdminFlag
channel_name: Option<String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NewUser
impl Send for NewUser
impl Sync for NewUser
impl Unpin for NewUser
impl UnwindSafe for NewUser
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]