pub struct PostOAuth2Token {Show 15 fields
pub grant_type: PostOAuth2TokenGrantType,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub code: Option<String>,
pub refresh_token: Option<String>,
pub assertion: Option<String>,
pub subject_token: Option<String>,
pub subject_token_type: Option<AccessTokenIssuedTokenType>,
pub actor_token: Option<String>,
pub actor_token_type: Option<PostOAuth2TokenActorTokenType>,
pub scope: Option<String>,
pub resource: Option<String>,
pub box_subject_type: Option<PostOAuth2TokenBoxSubjectType>,
pub box_subject_id: Option<String>,
pub box_shared_link: Option<String>,
}Fields§
§grant_type: PostOAuth2TokenGrantType§client_id: Option<String>§client_secret: Option<String>§code: Option<String>§refresh_token: Option<String>§assertion: Option<String>§subject_token: Option<String>§subject_token_type: Option<AccessTokenIssuedTokenType>§actor_token: Option<String>§actor_token_type: Option<PostOAuth2TokenActorTokenType>§scope: Option<String>§resource: Option<String>§box_subject_type: Option<PostOAuth2TokenBoxSubjectType>§box_subject_id: Option<String>Trait Implementations§
Source§impl Clone for PostOAuth2Token
impl Clone for PostOAuth2Token
Source§fn clone(&self) -> PostOAuth2Token
fn clone(&self) -> PostOAuth2Token
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 PostOAuth2Token
impl Debug for PostOAuth2Token
Source§impl Default for PostOAuth2Token
impl Default for PostOAuth2Token
Source§fn default() -> PostOAuth2Token
fn default() -> PostOAuth2Token
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostOAuth2Token
impl<'de> Deserialize<'de> for PostOAuth2Token
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
Source§impl PartialEq for PostOAuth2Token
impl PartialEq for PostOAuth2Token
Source§impl Serialize for PostOAuth2Token
impl Serialize for PostOAuth2Token
impl StructuralPartialEq for PostOAuth2Token
Auto Trait Implementations§
impl Freeze for PostOAuth2Token
impl RefUnwindSafe for PostOAuth2Token
impl Send for PostOAuth2Token
impl Sync for PostOAuth2Token
impl Unpin for PostOAuth2Token
impl UnsafeUnpin for PostOAuth2Token
impl UnwindSafe for PostOAuth2Token
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