pub struct BearerAuthenticationSchemeDefinition {
pub use_: Option<String>,
pub token: Option<String>,
}Expand description
Represents the definition of a bearer authentication scheme
Fields§
§use_: Option<String>Gets/sets the name of the secret, if any, used to configure the authentication scheme
token: Option<String>Gets/sets the bearer token used for authentication
Trait Implementations§
Source§impl Clone for BearerAuthenticationSchemeDefinition
impl Clone for BearerAuthenticationSchemeDefinition
Source§fn clone(&self) -> BearerAuthenticationSchemeDefinition
fn clone(&self) -> BearerAuthenticationSchemeDefinition
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 Default for BearerAuthenticationSchemeDefinition
impl Default for BearerAuthenticationSchemeDefinition
Source§fn default() -> BearerAuthenticationSchemeDefinition
fn default() -> BearerAuthenticationSchemeDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BearerAuthenticationSchemeDefinition
impl<'de> Deserialize<'de> for BearerAuthenticationSchemeDefinition
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 BearerAuthenticationSchemeDefinition
impl PartialEq for BearerAuthenticationSchemeDefinition
Source§fn eq(&self, other: &BearerAuthenticationSchemeDefinition) -> bool
fn eq(&self, other: &BearerAuthenticationSchemeDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BearerAuthenticationSchemeDefinition
impl StructuralPartialEq for BearerAuthenticationSchemeDefinition
Auto Trait Implementations§
impl Freeze for BearerAuthenticationSchemeDefinition
impl RefUnwindSafe for BearerAuthenticationSchemeDefinition
impl Send for BearerAuthenticationSchemeDefinition
impl Sync for BearerAuthenticationSchemeDefinition
impl Unpin for BearerAuthenticationSchemeDefinition
impl UnsafeUnpin for BearerAuthenticationSchemeDefinition
impl UnwindSafe for BearerAuthenticationSchemeDefinition
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