pub struct CBAUpdateResponse {
pub new_access_token: Option<String>,
pub new_cba_challenge: Option<Vec<u8>>,
pub new_cba_token: Option<String>,
}Expand description
Update client token response.
Fields§
§new_access_token: Option<String>May contains new access token.
Application backend must update it in the application client.
new_cba_challenge: Option<Vec<u8>>May contains new client-based authorization challenge.
Application backend must transfer this challenge to the application client
and repeat request after getting cba_challenge_sign from it.
Note that application backend also must transfer challenge state from the headers!
new_cba_token: Option<String>May contains new client token.
Application backend must update it in the application client.
Trait Implementations§
Source§impl Clone for CBAUpdateResponse
impl Clone for CBAUpdateResponse
Source§fn clone(&self) -> CBAUpdateResponse
fn clone(&self) -> CBAUpdateResponse
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 CBAUpdateResponse
impl Debug for CBAUpdateResponse
Source§impl<'de> Deserialize<'de> for CBAUpdateResponse
impl<'de> Deserialize<'de> for CBAUpdateResponse
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 CBAUpdateResponse
Source§impl Hash for CBAUpdateResponse
impl Hash for CBAUpdateResponse
Source§impl PartialEq for CBAUpdateResponse
impl PartialEq for CBAUpdateResponse
Source§fn eq(&self, other: &CBAUpdateResponse) -> bool
fn eq(&self, other: &CBAUpdateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CBAUpdateResponse
impl Serialize for CBAUpdateResponse
impl StructuralPartialEq for CBAUpdateResponse
Source§impl ToSchema for CBAUpdateResponse
impl ToSchema for CBAUpdateResponse
Auto Trait Implementations§
impl Freeze for CBAUpdateResponse
impl RefUnwindSafe for CBAUpdateResponse
impl Send for CBAUpdateResponse
impl Sync for CBAUpdateResponse
impl Unpin for CBAUpdateResponse
impl UnsafeUnpin for CBAUpdateResponse
impl UnwindSafe for CBAUpdateResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.