[−][src]Struct acme_lib::persist::PersistKey
Key for a value in the persistence.
Fields
realm: u64kind: PersistKindkey: &'a strMethods
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> Eq for PersistKey<'a>[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]
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> Copy for PersistKey<'a>[src]
impl<'a> Hash for PersistKey<'a>[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'a> Debug for PersistKey<'a>[src]
impl<'a> Display for PersistKey<'a>[src]
Auto Trait Implementations
impl<'a> Send for PersistKey<'a>
impl<'a> Unpin for PersistKey<'a>
impl<'a> Sync for PersistKey<'a>
impl<'a> UnwindSafe for PersistKey<'a>
impl<'a> RefUnwindSafe for PersistKey<'a>
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,