pub enum PresentationForm {
Bearer,
Basic,
Raw,
}Expand description
Presentation form for material at a marked slot (DR-0053 §5): usable in any string position, lowering the handle to a sentinel.
Variants§
Bearer
Bearer <material>
Basic
Basic <base64(user:material)> — the custodian holds user:pass
material for basic-kind credentials and encodes at substitution.
Raw
Material verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for PresentationForm
impl Clone for PresentationForm
Source§fn clone(&self) -> PresentationForm
fn clone(&self) -> PresentationForm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PresentationForm
Source§impl Debug for PresentationForm
impl Debug for PresentationForm
Source§impl<'de> Deserialize<'de> for PresentationForm
impl<'de> Deserialize<'de> for PresentationForm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PresentationForm
impl Display for PresentationForm
impl Eq for PresentationForm
Source§impl Hash for PresentationForm
impl Hash for PresentationForm
Source§impl PartialEq for PresentationForm
impl PartialEq for PresentationForm
Source§impl Serialize for PresentationForm
impl Serialize for PresentationForm
impl StructuralPartialEq for PresentationForm
Auto Trait Implementations§
impl Freeze for PresentationForm
impl RefUnwindSafe for PresentationForm
impl Send for PresentationForm
impl Sync for PresentationForm
impl Unpin for PresentationForm
impl UnsafeUnpin for PresentationForm
impl UnwindSafe for PresentationForm
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