pub struct ArtifactId(Uuid);Expand description
Type-safe ID for artifact entities.
Tuple Fields§
§0: UuidTrait Implementations§
Source§impl Clone for ArtifactId
impl Clone for ArtifactId
Source§fn clone(&self) -> ArtifactId
fn clone(&self) -> ArtifactId
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 ArtifactId
impl ComposeSchema for ArtifactId
Source§impl Debug for ArtifactId
impl Debug for ArtifactId
Source§impl Default for ArtifactId
impl Default for ArtifactId
Source§impl<'de> Deserialize<'de> for ArtifactId
impl<'de> Deserialize<'de> for ArtifactId
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 ArtifactId
impl Display for ArtifactId
Source§impl EntityIdType for ArtifactId
impl EntityIdType for ArtifactId
Source§const ENTITY_NAME: &'static str = "artifact"
const ENTITY_NAME: &'static str = "artifact"
The name of the entity type (e.g., “tenant”, “trajectory”).
Source§impl FromStr for ArtifactId
impl FromStr for ArtifactId
Source§impl Hash for ArtifactId
impl Hash for ArtifactId
Source§impl PartialEq for ArtifactId
impl PartialEq for ArtifactId
Source§impl Serialize for ArtifactId
impl Serialize for ArtifactId
Source§impl ToSchema for ArtifactId
impl ToSchema for ArtifactId
impl Copy for ArtifactId
impl Eq for ArtifactId
impl StructuralPartialEq for ArtifactId
Auto Trait Implementations§
impl Freeze for ArtifactId
impl RefUnwindSafe for ArtifactId
impl Send for ArtifactId
impl Sync for ArtifactId
impl Unpin for ArtifactId
impl UnwindSafe for ArtifactId
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.