pub struct SnapshotId(Uuid);Expand description
Type-safe ID for snapshot entities.
Tuple Fields§
§0: UuidTrait Implementations§
Source§impl Clone for SnapshotId
impl Clone for SnapshotId
Source§fn clone(&self) -> SnapshotId
fn clone(&self) -> SnapshotId
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 ComposeSchema for SnapshotId
impl ComposeSchema for SnapshotId
Source§impl Debug for SnapshotId
impl Debug for SnapshotId
Source§impl Default for SnapshotId
impl Default for SnapshotId
Source§impl<'de> Deserialize<'de> for SnapshotId
impl<'de> Deserialize<'de> for SnapshotId
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 Display for SnapshotId
impl Display for SnapshotId
Source§impl EntityIdType for SnapshotId
impl EntityIdType for SnapshotId
Source§const ENTITY_NAME: &'static str = "snapshot"
const ENTITY_NAME: &'static str = "snapshot"
The name of the entity type (e.g., “tenant”, “trajectory”).
Source§impl FromStr for SnapshotId
impl FromStr for SnapshotId
Source§impl Hash for SnapshotId
impl Hash for SnapshotId
Source§impl PartialEq for SnapshotId
impl PartialEq for SnapshotId
Source§impl Serialize for SnapshotId
impl Serialize for SnapshotId
Source§impl ToSchema for SnapshotId
impl ToSchema for SnapshotId
impl Copy for SnapshotId
impl Eq for SnapshotId
impl StructuralPartialEq for SnapshotId
Auto Trait Implementations§
impl Freeze for SnapshotId
impl RefUnwindSafe for SnapshotId
impl Send for SnapshotId
impl Sync for SnapshotId
impl Unpin for SnapshotId
impl UnwindSafe for SnapshotId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.