[−][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]
Performs copy-assignment from source. Read more
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> 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,
Feeds a slice of this type into the given [Hasher]. Read more
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> 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 = !
🔬 This is a nightly-only experimental API. (
try_from)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, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,