pub struct Updatedness(pub Ulid);
Tuple Fields§
§0: Ulid
Implementations§
Source§impl Updatedness
impl Updatedness
pub fn now() -> Updatedness
pub fn from_u128(v: u128) -> Updatedness
pub fn as_u128(&self) -> u128
Trait Implementations§
Source§impl Clone for Updatedness
impl Clone for Updatedness
Source§fn clone(&self) -> Updatedness
fn clone(&self) -> Updatedness
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 Updatedness
impl Debug for Updatedness
Source§impl DeepSizeOf for Updatedness
impl DeepSizeOf for Updatedness
Source§fn deep_size_of_children(&self, _: &mut Context) -> usize
fn deep_size_of_children(&self, _: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for Updatedness
impl<'de> Deserialize<'de> for Updatedness
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Updatedness, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Updatedness, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for Updatedness
impl Hash for Updatedness
Source§impl Ord for Updatedness
impl Ord for Updatedness
Source§fn cmp(&self, other: &Updatedness) -> Ordering
fn cmp(&self, other: &Updatedness) -> 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 Updatedness
impl PartialEq for Updatedness
Source§impl PartialOrd for Updatedness
impl PartialOrd for Updatedness
Source§impl Serialize for Updatedness
impl Serialize for Updatedness
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Updatedness
impl Eq for Updatedness
impl StructuralPartialEq for Updatedness
Auto Trait Implementations§
impl Freeze for Updatedness
impl RefUnwindSafe for Updatedness
impl Send for Updatedness
impl Sync for Updatedness
impl Unpin for Updatedness
impl UnwindSafe for Updatedness
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