pub struct Id<R: Resource> { /* private fields */ }
Expand description
A strongly-typed “resource ID” used to identify many different kinds of BigML resources.
Implementations§
Trait Implementations§
Source§impl<'de, R: Resource> Deserialize<'de> for Id<R>
impl<'de, R: Resource> Deserialize<'de> for Id<R>
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<R: Ord + Resource> Ord for Id<R>
impl<R: Ord + Resource> Ord for Id<R>
Source§impl<R: PartialOrd + Resource> PartialOrd for Id<R>
impl<R: PartialOrd + Resource> PartialOrd for Id<R>
impl<R: Eq + Resource> Eq for Id<R>
impl<R: Resource> StructuralPartialEq for Id<R>
Auto Trait Implementations§
impl<R> Freeze for Id<R>
impl<R> RefUnwindSafe for Id<R>where
R: RefUnwindSafe,
impl<R> Send for Id<R>
impl<R> Sync for Id<R>
impl<R> Unpin for Id<R>where
R: Unpin,
impl<R> UnwindSafe for Id<R>where
R: UnwindSafe,
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.