pub struct Id<K>(/* private fields */);Expand description
Обобщённый строго типизированный идентификатор.
Implementations§
Trait Implementations§
Source§impl<'de, K: IdKind> Deserialize<'de> for Id<K>
impl<'de, K: IdKind> Deserialize<'de> for Id<K>
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<K> Ord for Id<K>
impl<K> Ord for Id<K>
Source§impl<K> PartialOrd for Id<K>
impl<K> PartialOrd for Id<K>
impl<K> Copy for Id<K>
impl<K> Eq for Id<K>
Auto Trait Implementations§
impl<K> Freeze for Id<K>
impl<K> RefUnwindSafe for Id<K>where
K: RefUnwindSafe,
impl<K> Send for Id<K>where
K: Send,
impl<K> Sync for Id<K>where
K: Sync,
impl<K> Unpin for Id<K>where
K: Unpin,
impl<K> UnsafeUnpin for Id<K>
impl<K> UnwindSafe for Id<K>where
K: 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