pub struct ClientId(pub u64);Expand description
Extractor wrapper for client id.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for ClientId
Source§impl<State> FromRequest<State> for ClientId
impl<State> FromRequest<State> for ClientId
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<State>, ) -> Result<Self, Self::Rejection>
Auto Trait Implementations§
impl Freeze for ClientId
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnsafeUnpin for ClientId
impl UnwindSafe for ClientId
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