Struct jwt_compact::Empty
source · pub struct Empty {}
Expand description
A structure with no fields that can be used as a type parameter to Claims
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Empty
impl<'de> Deserialize<'de> for Empty
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 PartialEq for Empty
impl PartialEq for Empty
impl Copy for Empty
impl Eq for Empty
impl StructuralEq for Empty
impl StructuralPartialEq for Empty
Auto Trait Implementations§
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnwindSafe for Empty
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