Struct biodivine_sketchbook::sketchbook::ids::ObservationId
source · pub struct ObservationId(BaseId);
Expand description
A type-safe (string-based) identifier of a Observation
inside a particular model.
Warning: Do not mix identifiers between different models/sketches.
Tuple Fields§
§0: BaseId
Implementations§
Trait Implementations§
source§impl Clone for ObservationId
impl Clone for ObservationId
source§fn clone(&self) -> ObservationId
fn clone(&self) -> ObservationId
Returns a copy 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 Debug for ObservationId
impl Debug 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 FromStr for ObservationId
impl FromStr for ObservationId
source§impl Hash for ObservationId
impl Hash for ObservationId
source§impl Ord for ObservationId
impl Ord for ObservationId
source§fn cmp(&self, other: &ObservationId) -> Ordering
fn cmp(&self, other: &ObservationId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ObservationId
impl PartialEq for ObservationId
source§impl PartialOrd for ObservationId
impl PartialOrd for ObservationId
source§impl Serialize for ObservationId
impl Serialize 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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
Checks if this value is equivalent to the given key. Read more
§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.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.