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