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