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§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§impl PartialEq for ClientIdRef
impl PartialEq for ClientIdRef
Source§impl PartialOrd for ClientIdRef
impl PartialOrd for ClientIdRef
Source§impl Serialize for ClientIdRef
impl Serialize for ClientIdRef
Source§impl ToOwned for ClientIdRef
impl ToOwned for ClientIdRef
impl Eq for ClientIdRef
impl StructuralPartialEq for ClientIdRef
Auto Trait Implementations§
impl Freeze for ClientIdRef
impl RefUnwindSafe for ClientIdRef
impl Send for ClientIdRef
impl !Sized for ClientIdRef
impl Sync for ClientIdRef
impl Unpin for ClientIdRef
impl UnwindSafe for ClientIdRef
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