[][src]Struct threema_gateway::BlobId

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

A blob ID. Must contain exactly 16 lowercase hexadecimal characters.

Methods

impl BlobId[src]

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

Create a new BlobId.

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

Create a new BlobId from a 32 character hexadecimal String.

Trait Implementations

impl Clone for BlobId[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for BlobId[src]

impl PartialEq<BlobId> for BlobId[src]

impl Display for BlobId[src]

impl Debug for BlobId[src]

impl Serialize for BlobId[src]

Auto Trait Implementations

impl Send for BlobId

impl Sync for BlobId

Blanket Implementations

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

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T