pub struct BearerTokenExample { /* private fields */ }
Implementations§
source§impl BearerTokenExample
impl BearerTokenExample
sourcepub fn builder() -> Builder<BearerTokenValueStage>
pub fn builder() -> Builder<BearerTokenValueStage>
Returns a new builder.
source§impl BearerTokenExample
impl BearerTokenExample
sourcepub fn new(bearer_token_value: BearerToken) -> Self
pub fn new(bearer_token_value: BearerToken) -> Self
Constructs a new instance of the type.
pub fn bearer_token_value(&self) -> &BearerToken
Trait Implementations§
source§impl Clone for BearerTokenExample
impl Clone for BearerTokenExample
source§fn clone(&self) -> BearerTokenExample
fn clone(&self) -> BearerTokenExample
Returns a copy of the value. Read more
1.0.0 · 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 BearerTokenExample
impl Debug for BearerTokenExample
source§impl<'de> Deserialize<'de> for BearerTokenExample
impl<'de> Deserialize<'de> for BearerTokenExample
source§fn deserialize<D>(d: D) -> Result<BearerTokenExample, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<BearerTokenExample, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BearerTokenExample> for Builder<Complete>
impl From<BearerTokenExample> for Builder<Complete>
source§fn from(v: BearerTokenExample) -> Self
fn from(v: BearerTokenExample) -> Self
Converts to this type from the input type.
source§impl Hash for BearerTokenExample
impl Hash for BearerTokenExample
source§impl Ord for BearerTokenExample
impl Ord for BearerTokenExample
source§fn cmp(&self, other: &BearerTokenExample) -> Ordering
fn cmp(&self, other: &BearerTokenExample) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BearerTokenExample
impl PartialEq for BearerTokenExample
source§fn eq(&self, other: &BearerTokenExample) -> bool
fn eq(&self, other: &BearerTokenExample) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BearerTokenExample
impl PartialOrd for BearerTokenExample
source§fn partial_cmp(&self, other: &BearerTokenExample) -> Option<Ordering>
fn partial_cmp(&self, other: &BearerTokenExample) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BearerTokenExample
impl Serialize for BearerTokenExample
impl Eq for BearerTokenExample
impl StructuralPartialEq for BearerTokenExample
Auto Trait Implementations§
impl Freeze for BearerTokenExample
impl RefUnwindSafe for BearerTokenExample
impl Send for BearerTokenExample
impl Sync for BearerTokenExample
impl Unpin for BearerTokenExample
impl UnwindSafe for BearerTokenExample
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.