pub struct IndexedAuthPayload<E: Serialize = Binary> {
pub payload: AuthPayload<E>,
pub index: u8,
}Fields§
§payload: AuthPayload<E>§index: u8Implementations§
Trait Implementations§
Source§impl<E: Clone + Serialize> Clone for IndexedAuthPayload<E>
impl<E: Clone + Serialize> Clone for IndexedAuthPayload<E>
Source§fn clone(&self) -> IndexedAuthPayload<E>
fn clone(&self) -> IndexedAuthPayload<E>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<E: Serialize> StructuralPartialEq for IndexedAuthPayload<E>
Auto Trait Implementations§
impl<E> Freeze for IndexedAuthPayload<E>where
E: Freeze,
impl<E> RefUnwindSafe for IndexedAuthPayload<E>where
E: RefUnwindSafe,
impl<E> Send for IndexedAuthPayload<E>where
E: Send,
impl<E> Sync for IndexedAuthPayload<E>where
E: Sync,
impl<E> Unpin for IndexedAuthPayload<E>where
E: Unpin,
impl<E> UnwindSafe for IndexedAuthPayload<E>where
E: 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§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)