pub fn optional_normal_user_filter(s: &State) -> BoxedFilter<(Option<UserUuid>,)> {
    normal_user_filter(s)
        .map(Some)
        .or(warp::any().map(|| None))
        .unify::<(Option<UserUuid>,)>()
        .boxed()
}
/// Gets an Option<UserUuid> from the request.
/// Returns Some(user_uuid) if the user has a valid JWT, and None otherwise.
Gets an Option from the request.
Returns Some(user_uuid) if the user has a valid JWT, and None otherwise.
Gets an Option from the request . Returns Some ( user_uuid ) if the user has a valid JWT and None otherwise .
pub fn optional_normal_user_filter(s: &State) -> BoxedFilter<(Option<UserUuid>,)> {
    normal_user_filter(s)
        .map(Some)
        .or(warp::any().map(|| None))
        .unify::<(Option<UserUuid>,)>()
        .boxed()
}
pub fn optional_normal_user_filter ( s : & State ) -> BoxedFilter < ( Option < UserUuid > , ) > { normal_user_filter ( s ) . map ( Some ) . or ( warp :: any ( ) . map ( | | None ) ) . unify :: < ( Option < UserUuid > , ) > ( ) . boxed ( ) }
Gets an Option<UserUuid> from the request.
Gets an Option<UserUuid > from the request .
s
&State
s
&State