Struct teaclave_types::UserAuthClaims
source · [−]pub struct UserAuthClaims {
pub sub: String,
pub role: String,
pub iss: String,
pub exp: u64,
}
Fields
sub: String
role: String
iss: String
exp: u64
Implementations
sourceimpl UserAuthClaims
impl UserAuthClaims
Trait Implementations
sourceimpl Debug for UserAuthClaims
impl Debug for UserAuthClaims
sourceimpl Default for UserAuthClaims
impl Default for UserAuthClaims
sourcefn default() -> UserAuthClaims
fn default() -> UserAuthClaims
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserAuthClaims
impl<'de> Deserialize<'de> for UserAuthClaims
sourcefn 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
sourceimpl Display for UserAuthClaims
impl Display for UserAuthClaims
sourceimpl Serialize for UserAuthClaims
impl Serialize for UserAuthClaims
Auto Trait Implementations
impl RefUnwindSafe for UserAuthClaims
impl Send for UserAuthClaims
impl Sync for UserAuthClaims
impl Unpin for UserAuthClaims
impl UnwindSafe for UserAuthClaims
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request