pub struct JwtOptions {
pub key_id: String,
pub key_secret: String,
pub request_method: String,
pub request_host: String,
pub request_path: String,
}Expand description
JWT options for authentication
Fields§
§key_id: String§key_secret: String§request_method: String§request_host: String§request_path: StringImplementations§
Trait Implementations§
Source§impl Clone for JwtOptions
impl Clone for JwtOptions
Source§fn clone(&self) -> JwtOptions
fn clone(&self) -> JwtOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for JwtOptions
impl RefUnwindSafe for JwtOptions
impl Send for JwtOptions
impl Sync for JwtOptions
impl Unpin for JwtOptions
impl UnwindSafe for JwtOptions
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