Struct twitch_oauth2::types::ClientId
source · [−]#[repr(transparent)]pub struct ClientId(_);
Expand description
A Client Id
Implementations
sourceimpl ClientId
impl ClientId
sourcepub fn into_boxed_ref(self) -> Box<ClientIdRef>
pub fn into_boxed_ref(self) -> Box<ClientIdRef>
Converts this ClientId
into a Box
<
ClientIdRef
>
This will drop any excess capacity.
sourcepub fn into_string(self) -> String
pub fn into_string(self) -> String
Unwraps the underlying String
value
Methods from Deref<Target = ClientIdRef>
Trait Implementations
sourceimpl AsRef<ClientIdRef> for ClientId
impl AsRef<ClientIdRef> for ClientId
sourcefn as_ref(&self) -> &ClientIdRef
fn as_ref(&self) -> &ClientIdRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<ClientIdRef> for ClientId
impl Borrow<ClientIdRef> for ClientId
sourcefn borrow(&self) -> &ClientIdRef
fn borrow(&self) -> &ClientIdRef
Immutably borrows from an owned value. Read more
sourceimpl Deref for ClientId
impl Deref for ClientId
type Target = ClientIdRef
type Target = ClientIdRef
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for ClientId
impl<'de> Deserialize<'de> for ClientId
sourcefn 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
sourceimpl From<&'_ ClientIdRef> for ClientId
impl From<&'_ ClientIdRef> for ClientId
sourcefn from(s: &ClientIdRef) -> Self
fn from(s: &ClientIdRef) -> Self
Converts to this type from the input type.
sourceimpl From<Box<ClientIdRef, Global>> for ClientId
impl From<Box<ClientIdRef, Global>> for ClientId
sourcefn from(r: Box<ClientIdRef>) -> Self
fn from(r: Box<ClientIdRef>) -> Self
Converts to this type from the input type.
sourceimpl From<ClientId> for Box<ClientIdRef>
impl From<ClientId> for Box<ClientIdRef>
sourceimpl<'a> From<ClientId> for Cow<'a, ClientIdRef>
impl<'a> From<ClientId> for Cow<'a, ClientIdRef>
sourceimpl<'a> From<Cow<'a, ClientIdRef>> for ClientId
impl<'a> From<Cow<'a, ClientIdRef>> for ClientId
sourcefn from(r: Cow<'a, ClientIdRef>) -> Self
fn from(r: Cow<'a, ClientIdRef>) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<&'_ ClientIdRef> for ClientId
impl PartialEq<&'_ ClientIdRef> for ClientId
sourceimpl PartialEq<ClientId> for ClientIdRef
impl PartialEq<ClientId> for ClientIdRef
sourceimpl PartialEq<ClientId> for &ClientIdRef
impl PartialEq<ClientId> for &ClientIdRef
sourceimpl PartialEq<ClientId> for Box<ClientIdRef>
impl PartialEq<ClientId> for Box<ClientIdRef>
sourceimpl PartialEq<ClientIdRef> for ClientId
impl PartialEq<ClientIdRef> for ClientId
impl Eq for ClientId
Auto Trait Implementations
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more