pub struct OAuth2TokenDefinition {
pub token: String,
pub type_: String,
}Expand description
Represents the definition of an OAUTH2 token
Fields§
§token: StringGets/sets the security token to use
type_: StringGets/sets the type of security token to use
Trait Implementations§
Source§impl Clone for OAuth2TokenDefinition
impl Clone for OAuth2TokenDefinition
Source§fn clone(&self) -> OAuth2TokenDefinition
fn clone(&self) -> OAuth2TokenDefinition
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 OAuth2TokenDefinition
impl Debug for OAuth2TokenDefinition
Source§impl Default for OAuth2TokenDefinition
impl Default for OAuth2TokenDefinition
Source§fn default() -> OAuth2TokenDefinition
fn default() -> OAuth2TokenDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuth2TokenDefinition
impl<'de> Deserialize<'de> for OAuth2TokenDefinition
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 OAuth2TokenDefinition
impl PartialEq for OAuth2TokenDefinition
Source§fn eq(&self, other: &OAuth2TokenDefinition) -> bool
fn eq(&self, other: &OAuth2TokenDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OAuth2TokenDefinition
impl Serialize for OAuth2TokenDefinition
impl Eq for OAuth2TokenDefinition
impl StructuralPartialEq for OAuth2TokenDefinition
Auto Trait Implementations§
impl Freeze for OAuth2TokenDefinition
impl RefUnwindSafe for OAuth2TokenDefinition
impl Send for OAuth2TokenDefinition
impl Sync for OAuth2TokenDefinition
impl Unpin for OAuth2TokenDefinition
impl UnsafeUnpin for OAuth2TokenDefinition
impl UnwindSafe for OAuth2TokenDefinition
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