Struct threema_gateway::BlobId[][src]

pub struct BlobId(pub [u8; 16]);

A 16-byte blob ID.

Implementations

impl BlobId[src]

pub fn new(id: [u8; 16]) -> Self[src]

Create a new BlobId.

Trait Implementations

impl Clone for BlobId[src]

impl Debug for BlobId[src]

impl Display for BlobId[src]

impl Eq for BlobId[src]

impl FromStr for BlobId[src]

type Err = ApiError

The associated error which can be returned from parsing.

fn from_str(id: &str) -> Result<Self, Self::Err>[src]

Create a new BlobId from a 32 character hexadecimal String.

impl PartialEq<BlobId> for BlobId[src]

impl Serialize for BlobId[src]

impl StructuralEq for BlobId[src]

impl StructuralPartialEq for BlobId[src]

Auto Trait Implementations

impl RefUnwindSafe for BlobId

impl Send for BlobId

impl Sync for BlobId

impl Unpin for BlobId

impl UnwindSafe for BlobId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.