pub struct ClientInitialResponse {
pub token: String,
pub authzid: Option<String>,
}Expand description
Parsed RFC 7628 client initial response.
Fields§
§token: StringThe bearer token (the value after auth=Bearer ).
authzid: Option<String>The GS2 authorization id, if the client supplied a non-empty one.
Trait Implementations§
Source§impl Clone for ClientInitialResponse
impl Clone for ClientInitialResponse
Source§fn clone(&self) -> ClientInitialResponse
fn clone(&self) -> ClientInitialResponse
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 ClientInitialResponse
impl Debug for ClientInitialResponse
impl Eq for ClientInitialResponse
Source§impl PartialEq for ClientInitialResponse
impl PartialEq for ClientInitialResponse
Source§fn eq(&self, other: &ClientInitialResponse) -> bool
fn eq(&self, other: &ClientInitialResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientInitialResponse
Auto Trait Implementations§
impl Freeze for ClientInitialResponse
impl RefUnwindSafe for ClientInitialResponse
impl Send for ClientInitialResponse
impl Sync for ClientInitialResponse
impl Unpin for ClientInitialResponse
impl UnsafeUnpin for ClientInitialResponse
impl UnwindSafe for ClientInitialResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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