pub struct PresentCredentials<'p>(/* private fields */);Implementations§
Source§impl<'p> PresentCredentials<'p>
impl<'p> PresentCredentials<'p>
pub fn new() -> Self
pub fn add_credential( &mut self, cred: &'p Credential, timestamp: Option<u64>, rev_state: Option<&'p CredentialRevocationState>, ) -> AddCredential<'_, 'p>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
Trait Implementations§
Source§impl<'p> Debug for PresentCredentials<'p>
impl<'p> Debug for PresentCredentials<'p>
Source§impl<'p> Default for PresentCredentials<'p>
impl<'p> Default for PresentCredentials<'p>
Source§fn default() -> PresentCredentials<'p>
fn default() -> PresentCredentials<'p>
Returns the “default value” for a type. Read more
Source§impl Validatable for PresentCredentials<'_>
impl Validatable for PresentCredentials<'_>
Auto Trait Implementations§
impl<'p> Freeze for PresentCredentials<'p>
impl<'p> RefUnwindSafe for PresentCredentials<'p>
impl<'p> Send for PresentCredentials<'p>
impl<'p> Sync for PresentCredentials<'p>
impl<'p> Unpin for PresentCredentials<'p>
impl<'p> UnsafeUnpin for PresentCredentials<'p>
impl<'p> UnwindSafe for PresentCredentials<'p>
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