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.