pub struct EndpointJwt {
pub id: String,
pub public_key: String,
pub kid: String,
pub name: String,
}Expand description
JWT configured on an endpoint for signed-request authentication.
Fields§
§id: StringJWT identifier.
public_key: StringPublic key used to verify signed JWTs.
kid: StringKey identifier (kid) embedded in JWT headers.
name: StringHuman-readable name.
Trait Implementations§
Source§impl Clone for EndpointJwt
impl Clone for EndpointJwt
Source§fn clone(&self) -> EndpointJwt
fn clone(&self) -> EndpointJwt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EndpointJwt
impl Debug for EndpointJwt
Source§impl<'de> Deserialize<'de> for EndpointJwt
impl<'de> Deserialize<'de> for EndpointJwt
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
Auto Trait Implementations§
impl Freeze for EndpointJwt
impl RefUnwindSafe for EndpointJwt
impl Send for EndpointJwt
impl Sync for EndpointJwt
impl Unpin for EndpointJwt
impl UnsafeUnpin for EndpointJwt
impl UnwindSafe for EndpointJwt
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