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