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