Struct threema_gateway::BlobId
[−]
[src]
pub struct BlobId(pub [u8; 16]);
A blob ID. Must contain exactly 16 lowercase hexadecimal characters.
Methods
impl BlobId
[src]
fn new(id: [u8; 16]) -> Self
Create a new BlobId.
fn from_str(id: &str) -> Result<Self, ApiError>
Create a new BlobId from a 32 character hexadecimal String.
Trait Implementations
impl Debug for BlobId
[src]
impl PartialEq for BlobId
[src]
fn eq(&self, __arg_0: &BlobId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BlobId) -> bool
This method tests for !=
.
impl Eq for BlobId
[src]
impl Clone for BlobId
[src]
fn clone(&self) -> BlobId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more