#[non_exhaustive]pub struct WebapiUser {
pub name: Option<String>,
pub password: Option<Secret>,
}Expand description
The user block of the Web API. The password is read only with the secrets feature.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>§password: Option<Secret>None unless the secrets feature is enabled.
Trait Implementations§
Source§impl Clone for WebapiUser
impl Clone for WebapiUser
Source§impl Debug for WebapiUser
impl Debug for WebapiUser
impl Eq for WebapiUser
Source§impl PartialEq for WebapiUser
impl PartialEq for WebapiUser
impl StructuralPartialEq for WebapiUser
Auto Trait Implementations§
impl Forget for WebapiUser
impl Freeze for WebapiUser
impl Move for WebapiUser
impl RefUnwindSafe for WebapiUser
impl Send for WebapiUserwhere
RawVecInner: Send,
impl Sync for WebapiUserwhere
RawVecInner: Sync,
impl Unpin for WebapiUser
impl UnsafeUnpin for WebapiUser
impl UnwindSafe for WebapiUserwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more