Struct aliri_tokens::ClientId [−][src]
#[repr(transparent)]pub struct ClientId(_);
Expand description
A client ID
Implementations
impl ClientId
[src]
impl ClientId
[src]pub fn into_boxed_ref(self) -> Box<ClientIdRef>
[src]
pub fn into_boxed_ref(self) -> Box<ClientIdRef>
[src]Converts this ClientId
into a Box
<
ClientIdRef
>
This will drop any excess capacity.
pub fn into_string(self) -> String
[src]
pub fn into_string(self) -> String
[src]Unwraps the underlying String
value
Methods from Deref<Target = ClientIdRef>
Trait Implementations
impl AsRef<ClientIdRef> for ClientId
[src]
impl AsRef<ClientIdRef> for ClientId
[src]fn as_ref(&self) -> &ClientIdRef
[src]
fn as_ref(&self) -> &ClientIdRef
[src]Performs the conversion.
impl Borrow<ClientIdRef> for ClientId
[src]
impl Borrow<ClientIdRef> for ClientId
[src]fn borrow(&self) -> &ClientIdRef
[src]
fn borrow(&self) -> &ClientIdRef
[src]Immutably borrows from an owned value. Read more
impl Deref for ClientId
[src]
impl Deref for ClientId
[src]type Target = ClientIdRef
type Target = ClientIdRef
The resulting type after dereferencing.
impl<'de> Deserialize<'de> for ClientId
[src]
impl<'de> Deserialize<'de> for ClientId
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl From<&'_ ClientIdRef> for ClientId
[src]
impl From<&'_ ClientIdRef> for ClientId
[src]fn from(s: &ClientIdRef) -> Self
[src]
fn from(s: &ClientIdRef) -> Self
[src]Performs the conversion.
impl From<Box<ClientIdRef, Global>> for ClientId
[src]
impl From<Box<ClientIdRef, Global>> for ClientId
[src]fn from(r: Box<ClientIdRef>) -> Self
[src]
fn from(r: Box<ClientIdRef>) -> Self
[src]Performs the conversion.
impl<'a> From<Cow<'a, ClientIdRef>> for ClientId
[src]
impl<'a> From<Cow<'a, ClientIdRef>> for ClientId
[src]fn from(r: Cow<'a, ClientIdRef>) -> Self
[src]
fn from(r: Cow<'a, ClientIdRef>) -> Self
[src]Performs the conversion.
impl PartialEq<&'_ ClientIdRef> for ClientId
[src]
impl PartialEq<&'_ ClientIdRef> for ClientId
[src]impl PartialEq<ClientId> for ClientIdRef
[src]
impl PartialEq<ClientId> for ClientIdRef
[src]impl PartialEq<ClientId> for &ClientIdRef
[src]
impl PartialEq<ClientId> for &ClientIdRef
[src]impl PartialEq<ClientIdRef> for ClientId
[src]
impl PartialEq<ClientIdRef> for ClientId
[src]impl Eq for ClientId
[src]
impl StructuralEq for ClientId
[src]
impl StructuralPartialEq for ClientId
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
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>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,