#[non_exhaustive]pub struct AuthenticationSecret {
pub method: String,
pub value: Secret,
}Expand description
A password or key statement, e.g. encrypted-password "$6$..." or ssh-rsa "ssh-rsa AAAA... user@host".
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.method: StringThe statement name, e.g. "encrypted-password" or "ssh-rsa".
value: SecretTrait Implementations§
Source§impl Clone for AuthenticationSecret
impl Clone for AuthenticationSecret
Source§impl Debug for AuthenticationSecret
impl Debug for AuthenticationSecret
impl Eq for AuthenticationSecret
Source§impl PartialEq for AuthenticationSecret
impl PartialEq for AuthenticationSecret
impl StructuralPartialEq for AuthenticationSecret
Auto Trait Implementations§
impl Forget for AuthenticationSecret
impl Freeze for AuthenticationSecret
impl Move for AuthenticationSecret
impl RefUnwindSafe for AuthenticationSecret
impl Send for AuthenticationSecretwhere
RawVecInner: Send,
impl Sync for AuthenticationSecretwhere
RawVecInner: Sync,
impl Unpin for AuthenticationSecret
impl UnsafeUnpin for AuthenticationSecret
impl UnwindSafe for AuthenticationSecretwhere
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