[−][src]Struct acme_lib::persist::PersistKey
Key for a value in the persistence.
Fields
realm: u64
kind: PersistKind
key: &'a str
Methods
impl<'a> PersistKey<'a>
[src]
pub fn new(realm: &str, kind: PersistKind, key: &'a str) -> Self
[src]
Create a new key under a "realm", kind and key. The realm is an opaque hash of the given realm string.
The realm is currently defined as the account contact email, but this might change.
pub fn to_string(&self) -> String
[src]
Make a string representation of this key. Same as the Display trait.
Trait Implementations
impl<'a> Copy for PersistKey<'a>
[src]
impl<'a> PartialEq<PersistKey<'a>> for PersistKey<'a>
[src]
fn eq(&self, other: &PersistKey<'a>) -> bool
[src]
fn ne(&self, other: &PersistKey<'a>) -> bool
[src]
impl<'a> Clone for PersistKey<'a>
[src]
fn clone(&self) -> PersistKey<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Eq for PersistKey<'a>
[src]
impl<'a> Display for PersistKey<'a>
[src]
impl<'a> Debug for PersistKey<'a>
[src]
impl<'a> Hash for PersistKey<'a>
[src]
Auto Trait Implementations
impl<'a> Send for PersistKey<'a>
impl<'a> Sync for PersistKey<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,