[−][src]Enum threema_gateway::LookupCriterion
Different ways to look up a Threema ID in the directory.
Variants
Phone(String)
The phone number must be passed in E.164 format, without the leading +
.
PhoneHash(String)
The phone number must be passed as an HMAC-SHA256 hash of the E.164
number without the leading +
. The HMAC key is
85adf8226953f3d96cfd5d09bf29555eb955fcd8aa5ec4f9fcd869e258370723
(in hexadecimal).
Email(String)
The email address.
EmailHash(String)
The lowercased and whitespace-trimmed email address must be hashed with
HMAC-SHA256. The HMAC key is
30a5500fed9701fa6defdb610841900febb8e430881f7ad816826264ec09bad7
(in hexadecimal).
Trait Implementations
impl PartialEq<LookupCriterion> for LookupCriterion
[src]
fn eq(&self, other: &LookupCriterion) -> bool
[src]
fn ne(&self, other: &LookupCriterion) -> bool
[src]
impl Display for LookupCriterion
[src]
impl Debug for LookupCriterion
[src]
Auto Trait Implementations
impl Send for LookupCriterion
impl Sync for LookupCriterion
impl Unpin for LookupCriterion
impl UnwindSafe for LookupCriterion
impl RefUnwindSafe for LookupCriterion
Blanket Implementations
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,