pub enum AnonymizableId<T> {
Anonymized,
Id(Id<T>),
}
Variants§
Trait Implementations§
source§impl<T> Clone for AnonymizableId<T>
impl<T> Clone for AnonymizableId<T>
source§impl<T: Debug> Debug for AnonymizableId<T>
impl<T: Debug> Debug for AnonymizableId<T>
source§impl<'de, T> Deserialize<'de> for AnonymizableId<T>
impl<'de, T> Deserialize<'de> for AnonymizableId<T>
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Hash for AnonymizableId<T>
impl<T> Hash for AnonymizableId<T>
source§impl<T> PartialEq for AnonymizableId<T>
impl<T> PartialEq for AnonymizableId<T>
source§impl<T> Serialize for AnonymizableId<T>
impl<T> Serialize for AnonymizableId<T>
impl<T> Copy for AnonymizableId<T>
impl<T> Eq for AnonymizableId<T>
Auto Trait Implementations§
impl<T> Freeze for AnonymizableId<T>
impl<T> RefUnwindSafe for AnonymizableId<T>
impl<T> Send for AnonymizableId<T>
impl<T> Sync for AnonymizableId<T>
impl<T> Unpin for AnonymizableId<T>
impl<T> UnwindSafe for AnonymizableId<T>
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
)