pub struct ApplicationTag<V: Debug + PartialEq, const T: u8>(pub V);
Tuple Fields§
§0: V
Implementations§
Trait Implementations§
Source§impl<'de, V: Deserialize<'de> + Debug + PartialEq, const T: u8> Deserialize<'de> for ApplicationTag<V, T>
impl<'de, V: Deserialize<'de> + Debug + PartialEq, const T: u8> Deserialize<'de> for ApplicationTag<V, T>
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<V: Serialize + Debug + PartialEq + Clone, const T: u8> Serialize for ApplicationTag<V, T>
impl<V: Serialize + Debug + PartialEq + Clone, const T: u8> Serialize for ApplicationTag<V, T>
Source§fn serialize<S>(&self, serializer: S) -> Result<<S as Serializer>::Ok, S::Error>where
S: Serializer,
fn serialize<S>(&self, serializer: S) -> Result<<S as Serializer>::Ok, S::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<V: Eq + Debug + PartialEq, const T: u8> Eq for ApplicationTag<V, T>
impl<V: Debug + PartialEq, const T: u8> StructuralPartialEq for ApplicationTag<V, T>
Auto Trait Implementations§
impl<V, const T: u8> Freeze for ApplicationTag<V, T>where
V: Freeze,
impl<V, const T: u8> RefUnwindSafe for ApplicationTag<V, T>where
V: RefUnwindSafe,
impl<V, const T: u8> Send for ApplicationTag<V, T>where
V: Send,
impl<V, const T: u8> Sync for ApplicationTag<V, T>where
V: Sync,
impl<V, const T: u8> Unpin for ApplicationTag<V, T>where
V: Unpin,
impl<V, const T: u8> UnwindSafe for ApplicationTag<V, T>where
V: 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