pub struct ThumbnailInputHash(/* private fields */);
Implementations§
Source§impl ThumbnailInputHash
impl ThumbnailInputHash
pub const fn null() -> Self
pub fn from_bytes(bytes: [u8; 16]) -> Self
pub fn as_bytes(self) -> [u8; 16]
pub fn from_uuid(uuid: Uuid) -> Self
pub fn as_uuid(self) -> Uuid
pub fn from_u128(u: u128) -> Self
pub fn as_u128(self) -> u128
pub fn is_null(&self) -> bool
Trait Implementations§
Source§impl Clone for ThumbnailInputHash
impl Clone for ThumbnailInputHash
Source§fn clone(&self) -> ThumbnailInputHash
fn clone(&self) -> ThumbnailInputHash
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThumbnailInputHash
impl Debug for ThumbnailInputHash
Source§impl<'de> Deserialize<'de> for ThumbnailInputHash
impl<'de> Deserialize<'de> for ThumbnailInputHash
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ThumbnailInputHash
impl Hash for ThumbnailInputHash
Source§impl Ord for ThumbnailInputHash
impl Ord for ThumbnailInputHash
Source§fn cmp(&self, other: &ThumbnailInputHash) -> Ordering
fn cmp(&self, other: &ThumbnailInputHash) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThumbnailInputHash
impl PartialEq for ThumbnailInputHash
Source§impl PartialOrd for ThumbnailInputHash
impl PartialOrd for ThumbnailInputHash
Source§impl Serialize for ThumbnailInputHash
impl Serialize for ThumbnailInputHash
impl Copy for ThumbnailInputHash
impl Eq for ThumbnailInputHash
impl StructuralPartialEq for ThumbnailInputHash
Auto Trait Implementations§
impl Freeze for ThumbnailInputHash
impl RefUnwindSafe for ThumbnailInputHash
impl Send for ThumbnailInputHash
impl Sync for ThumbnailInputHash
impl Unpin for ThumbnailInputHash
impl UnwindSafe for ThumbnailInputHash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more