pub struct Description {
pub name: Option<String>,
pub takes: Option<String>,
}Expand description
What an authenticator or a directory says it is.
Fields§
§name: Option<String>A name to show; a host falls back to the provider’s own name when absent.
takes: Option<String>What an authenticator is shown: one of takes.
Trait Implementations§
Source§impl Clone for Description
impl Clone for Description
Source§impl Debug for Description
impl Debug for Description
Source§impl Default for Description
impl Default for Description
impl Eq for Description
Source§impl FromValue for Description
impl FromValue for Description
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for Description
impl FromWalk for Description
Source§impl MapRead for Description
impl MapRead for Description
Source§impl PartialEq for Description
impl PartialEq for Description
Source§impl Schema for Description
impl Schema for Description
impl StructuralPartialEq for Description
Source§impl ToValue for Description
impl ToValue for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnsafeUnpin for Description
impl UnwindSafe for Description
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