[−][src]Struct threema_gateway::Capabilities
A struct containing flags according to the capabilities of a Threema ID.
Fields
text: bool
Whether the ID can receive text messages.
image: bool
Whether the ID can receive image messages.
video: bool
Whether the ID can receive video messages.
audio: bool
Whether the ID can receive audio messages.
file: bool
Whether the ID can receive file messages.
other: Vec<String>
List of other capabilities this ID has.
Methods
impl Capabilities
[src]
Trait Implementations
impl PartialEq<Capabilities> for Capabilities
[src]
fn eq(&self, other: &Capabilities) -> bool
[src]
fn ne(&self, other: &Capabilities) -> bool
[src]
impl Display for Capabilities
[src]
impl Debug for Capabilities
[src]
impl FromStr for Capabilities
[src]
Auto Trait Implementations
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
impl RefUnwindSafe for Capabilities
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<'a, T> TryFrom<&'a str> for T where
T: FromStr,
T: FromStr,
type Err = <T as FromStr>::Err
fn try_from(string: &'a str) -> Result<T, <T as TryFrom<&'a str>>::Err>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,