pub struct ClientSecret(/* private fields */);Implementations§
Source§impl ClientSecret
impl ClientSecret
pub fn new(value: impl Into<String>) -> Result<Self, OAuthError>
pub fn expose_secret(&self) -> &str
Trait Implementations§
Source§impl Clone for ClientSecret
impl Clone for ClientSecret
Source§fn clone(&self) -> ClientSecret
fn clone(&self) -> ClientSecret
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 ClientSecret
impl Debug for ClientSecret
impl Eq for ClientSecret
Source§impl PartialEq for ClientSecret
impl PartialEq for ClientSecret
Source§fn eq(&self, other: &ClientSecret) -> bool
fn eq(&self, other: &ClientSecret) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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