pub struct AssertedBy {
pub sub: String,
pub client_id: String,
pub iss: String,
}Expand description
The verified caller of the request that produced a record: the token’s subject, the client acting for it, and the issuer that vouched — enough for a reader to ask the right party why this request was made, and nothing a caller can write for itself.
Fields§
§sub: StringThe token’s sub — the party the issuer authenticated.
client_id: StringThe token’s client_id — the client acting for that party.
iss: StringThe issuer whose signature the server verified.
Trait Implementations§
Source§impl Clone for AssertedBy
impl Clone for AssertedBy
Source§fn clone(&self) -> AssertedBy
fn clone(&self) -> AssertedBy
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 AssertedBy
impl Debug for AssertedBy
Source§impl<'de> Deserialize<'de> for AssertedBy
impl<'de> Deserialize<'de> for AssertedBy
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
impl Eq for AssertedBy
Source§impl PartialEq for AssertedBy
impl PartialEq for AssertedBy
Source§impl Serialize for AssertedBy
impl Serialize for AssertedBy
impl StructuralPartialEq for AssertedBy
Auto Trait Implementations§
impl Freeze for AssertedBy
impl RefUnwindSafe for AssertedBy
impl Send for AssertedBy
impl Sync for AssertedBy
impl Unpin for AssertedBy
impl UnsafeUnpin for AssertedBy
impl UnwindSafe for AssertedBy
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