pub struct ClientSecret(/* private fields */);
Expand description
A Client Secret
Implementations§
Source§impl ClientSecret
impl ClientSecret
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a new ClientSecret from a static reference
Sourcepub fn into_boxed_ref(self) -> Box<ClientSecretRef>
pub fn into_boxed_ref(self) -> Box<ClientSecretRef>
Converts this ClientSecret
into a Box<ClientSecretRef>
This will drop any excess capacity.
Methods from Deref<Target = ClientSecretRef>§
Trait Implementations§
Source§impl AsRef<ClientSecretRef> for ClientSecret
impl AsRef<ClientSecretRef> for ClientSecret
Source§fn as_ref(&self) -> &ClientSecretRef
fn as_ref(&self) -> &ClientSecretRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for ClientSecret
impl AsRef<str> for ClientSecret
Source§impl Borrow<ClientSecretRef> for ClientSecret
impl Borrow<ClientSecretRef> for ClientSecret
Source§fn borrow(&self) -> &ClientSecretRef
fn borrow(&self) -> &ClientSecretRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for ClientSecret
impl Borrow<str> for ClientSecret
Source§impl Clone for ClientSecret
impl Clone for ClientSecret
Source§fn clone(&self) -> ClientSecret
fn clone(&self) -> ClientSecret
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 ClientSecret
impl Debug for ClientSecret
Source§impl Deref for ClientSecret
impl Deref for ClientSecret
Source§impl<'de> Deserialize<'de> for ClientSecret
impl<'de> Deserialize<'de> for ClientSecret
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ClientSecret
impl Display for ClientSecret
Source§impl From<&ClientSecretRef> for ClientSecret
impl From<&ClientSecretRef> for ClientSecret
Source§fn from(s: &ClientSecretRef) -> Self
fn from(s: &ClientSecretRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for ClientSecret
impl From<&str> for ClientSecret
Source§impl From<Box<ClientSecretRef>> for ClientSecret
impl From<Box<ClientSecretRef>> for ClientSecret
Source§fn from(r: Box<ClientSecretRef>) -> Self
fn from(r: Box<ClientSecretRef>) -> Self
Converts to this type from the input type.
Source§impl From<ClientSecret> for Box<ClientSecretRef>
impl From<ClientSecret> for Box<ClientSecretRef>
Source§fn from(r: ClientSecret) -> Self
fn from(r: ClientSecret) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ClientSecret> for Cow<'a, ClientSecretRef>
impl<'a> From<ClientSecret> for Cow<'a, ClientSecretRef>
Source§fn from(owned: ClientSecret) -> Self
fn from(owned: ClientSecret) -> Self
Converts to this type from the input type.
Source§impl From<ClientSecret> for String
impl From<ClientSecret> for String
Source§fn from(s: ClientSecret) -> Self
fn from(s: ClientSecret) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, ClientSecretRef>> for ClientSecret
impl<'a> From<Cow<'a, ClientSecretRef>> for ClientSecret
Source§fn from(r: Cow<'a, ClientSecretRef>) -> Self
fn from(r: Cow<'a, ClientSecretRef>) -> Self
Converts to this type from the input type.
Source§impl From<String> for ClientSecret
impl From<String> for ClientSecret
Source§impl FromStr for ClientSecret
impl FromStr for ClientSecret
Source§impl Hash for ClientSecret
impl Hash for ClientSecret
Source§impl Ord for ClientSecret
impl Ord for ClientSecret
Source§impl PartialEq<&ClientSecretRef> for ClientSecret
impl PartialEq<&ClientSecretRef> for ClientSecret
Source§impl PartialEq<ClientSecret> for &ClientSecretRef
impl PartialEq<ClientSecret> for &ClientSecretRef
Source§impl PartialEq<ClientSecret> for ClientSecretRef
impl PartialEq<ClientSecret> for ClientSecretRef
Source§impl PartialEq<ClientSecretRef> for ClientSecret
impl PartialEq<ClientSecretRef> for ClientSecret
Source§impl PartialEq for ClientSecret
impl PartialEq for ClientSecret
Source§impl PartialOrd for ClientSecret
impl PartialOrd for ClientSecret
Source§impl Serialize for ClientSecret
impl Serialize for ClientSecret
impl Eq for ClientSecret
impl StructuralPartialEq for ClientSecret
Auto Trait Implementations§
impl Freeze for ClientSecret
impl RefUnwindSafe for ClientSecret
impl Send for ClientSecret
impl Sync for ClientSecret
impl Unpin for ClientSecret
impl UnwindSafe for ClientSecret
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)