Struct twitch_oauth2::types::ClientIdRef
source · pub struct ClientIdRef(/* private fields */);
Expand description
A Client Id
Implementations§
source§impl ClientIdRef
impl ClientIdRef
sourcepub const fn from_str(raw: &str) -> &Self
pub const fn from_str(raw: &str) -> &Self
Transparently reinterprets the string slice as a strongly-typed ClientIdRef
sourcepub const fn from_static(raw: &'static str) -> &'static Self
pub const fn from_static(raw: &'static str) -> &'static Self
Transparently reinterprets the static string slice as a strongly-typed ClientIdRef
sourcepub fn into_owned(self: Box<ClientIdRef>) -> ClientId
pub fn into_owned(self: Box<ClientIdRef>) -> ClientId
Converts a Box<ClientIdRef>
into a ClientId
without copying or allocating
Trait Implementations§
source§impl AsRef<ClientIdRef> for ClientId
impl AsRef<ClientIdRef> for ClientId
source§fn as_ref(&self) -> &ClientIdRef
fn as_ref(&self) -> &ClientIdRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<str> for ClientIdRef
impl AsRef<str> for ClientIdRef
source§impl Borrow<ClientIdRef> for ClientId
impl Borrow<ClientIdRef> for ClientId
source§fn borrow(&self) -> &ClientIdRef
fn borrow(&self) -> &ClientIdRef
Immutably borrows from an owned value. Read more
source§impl Borrow<str> for ClientIdRef
impl Borrow<str> for ClientIdRef
source§impl Debug for ClientIdRef
impl Debug for ClientIdRef
source§impl<'de: 'a, 'a> Deserialize<'de> for &'a ClientIdRef
impl<'de: 'a, 'a> Deserialize<'de> for &'a ClientIdRef
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<'de> Deserialize<'de> for Box<ClientIdRef>
impl<'de> Deserialize<'de> for Box<ClientIdRef>
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 ClientIdRef
impl Display for ClientIdRef
source§impl From<&ClientIdRef> for Arc<ClientIdRef>
impl From<&ClientIdRef> for Arc<ClientIdRef>
source§fn from(r: &ClientIdRef) -> Self
fn from(r: &ClientIdRef) -> Self
Converts to this type from the input type.
source§impl From<&ClientIdRef> for ClientId
impl From<&ClientIdRef> for ClientId
source§fn from(s: &ClientIdRef) -> Self
fn from(s: &ClientIdRef) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ClientIdRef> for Cow<'a, ClientIdRef>
impl<'a> From<&'a ClientIdRef> for Cow<'a, ClientIdRef>
source§fn from(r: &'a ClientIdRef) -> Self
fn from(r: &'a ClientIdRef) -> Self
Converts to this type from the input type.
source§impl From<&ClientIdRef> for Rc<ClientIdRef>
impl From<&ClientIdRef> for Rc<ClientIdRef>
source§fn from(r: &ClientIdRef) -> Self
fn from(r: &ClientIdRef) -> Self
Converts to this type from the input type.
source§impl<'a, 'b: 'a> From<&'a Cow<'b, ClientIdRef>> for &'a ClientIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, ClientIdRef>> for &'a ClientIdRef
source§fn from(r: &'a Cow<'b, ClientIdRef>) -> &'a ClientIdRef
fn from(r: &'a Cow<'b, ClientIdRef>) -> &'a ClientIdRef
Converts to this type from the input type.
source§impl<'a> From<&'a str> for &'a ClientIdRef
impl<'a> From<&'a str> for &'a ClientIdRef
source§fn from(s: &'a str) -> &'a ClientIdRef
fn from(s: &'a str) -> &'a ClientIdRef
Converts to this type from the input type.
source§impl Hash for ClientIdRef
impl Hash for ClientIdRef
source§impl Ord for ClientIdRef
impl Ord for ClientIdRef
source§impl PartialEq<&ClientIdRef> for ClientId
impl PartialEq<&ClientIdRef> for ClientId
source§fn eq(&self, other: &&ClientIdRef) -> bool
fn eq(&self, other: &&ClientIdRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ClientId> for &ClientIdRef
impl PartialEq<ClientId> for &ClientIdRef
source§impl PartialEq<ClientId> for ClientIdRef
impl PartialEq<ClientId> for ClientIdRef
source§impl PartialEq<ClientIdRef> for ClientId
impl PartialEq<ClientIdRef> for ClientId
source§fn eq(&self, other: &ClientIdRef) -> bool
fn eq(&self, other: &ClientIdRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq for ClientIdRef
impl PartialEq for ClientIdRef
source§fn eq(&self, other: &ClientIdRef) -> bool
fn eq(&self, other: &ClientIdRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClientIdRef
impl PartialOrd for ClientIdRef
source§fn partial_cmp(&self, other: &ClientIdRef) -> Option<Ordering>
fn partial_cmp(&self, other: &ClientIdRef) -> 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 more