pub struct EmoteSetIdRef(/* private fields */);
Available on crate feature
emote
only.Expand description
An Emote Set ID
Implementations§
Source§impl EmoteSetIdRef
impl EmoteSetIdRef
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 EmoteSetIdRef
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 EmoteSetIdRef
Sourcepub fn into_owned(self: Box<EmoteSetIdRef>) -> EmoteSetId
pub fn into_owned(self: Box<EmoteSetIdRef>) -> EmoteSetId
Converts a Box<EmoteSetIdRef>
into a EmoteSetId
without copying or allocating
Source§impl EmoteSetIdRef
impl EmoteSetIdRef
Sourcepub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>
pub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>
Get a
Cow<'_, EmoteSetIdRef>
Trait Implementations§
Source§impl AsRef<EmoteSetIdRef> for EmoteSetId
impl AsRef<EmoteSetIdRef> for EmoteSetId
Source§fn as_ref(&self) -> &EmoteSetIdRef
fn as_ref(&self) -> &EmoteSetIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for EmoteSetIdRef
impl AsRef<str> for EmoteSetIdRef
Source§impl Borrow<EmoteSetIdRef> for EmoteSetId
impl Borrow<EmoteSetIdRef> for EmoteSetId
Source§fn borrow(&self) -> &EmoteSetIdRef
fn borrow(&self) -> &EmoteSetIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for EmoteSetIdRef
impl Borrow<str> for EmoteSetIdRef
Source§impl Debug for EmoteSetIdRef
impl Debug for EmoteSetIdRef
Source§impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef
Available on crate feature
serde
only.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<EmoteSetIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<EmoteSetIdRef>
Available on crate feature
serde
only.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 EmoteSetIdRef
impl Display for EmoteSetIdRef
Source§impl<'a> From<&'a &'a EmoteSetIdRef> for Collection<'a, EmoteSetId>
impl<'a> From<&'a &'a EmoteSetIdRef> for Collection<'a, EmoteSetId>
Source§fn from(v: &'a &'a EmoteSetIdRef) -> Self
fn from(v: &'a &'a EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef
Source§fn from(r: &'a Cow<'b, EmoteSetIdRef>) -> &'a EmoteSetIdRef
fn from(r: &'a Cow<'b, EmoteSetIdRef>) -> &'a EmoteSetIdRef
Converts to this type from the input type.
Source§impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef
impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef
Source§fn from(owned: &'a EmoteSetId) -> Self
fn from(owned: &'a EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>
impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>
Source§fn from(r: &EmoteSetIdRef) -> Self
fn from(r: &EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>
impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>
Source§fn from(r: &'a EmoteSetIdRef) -> Self
fn from(r: &'a EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&EmoteSetIdRef> for EmoteSetId
impl From<&EmoteSetIdRef> for EmoteSetId
Source§fn from(s: &EmoteSetIdRef) -> Self
fn from(s: &EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>
impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>
Source§fn from(r: &EmoteSetIdRef) -> Self
fn from(r: &EmoteSetIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a String> for &'a EmoteSetIdRef
impl<'a> From<&'a String> for &'a EmoteSetIdRef
Source§impl<'a> From<&'a str> for &'a EmoteSetIdRef
impl<'a> From<&'a str> for &'a EmoteSetIdRef
Source§fn from(s: &'a str) -> &'a EmoteSetIdRef
fn from(s: &'a str) -> &'a EmoteSetIdRef
Converts to this type from the input type.
Source§impl From<EmoteSetId> for Box<EmoteSetIdRef>
impl From<EmoteSetId> for Box<EmoteSetIdRef>
Source§fn from(r: EmoteSetId) -> Self
fn from(r: EmoteSetId) -> Self
Converts to this type from the input type.
Source§impl Hash for EmoteSetIdRef
impl Hash for EmoteSetIdRef
Source§impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId
impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId
Source§fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef
impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef
Source§fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId
impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId
Source§fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
fn into_cow(self) -> Cow<'a, EmoteSetIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for EmoteSetIdRef
impl Ord for EmoteSetIdRef
Source§impl PartialEq<&EmoteSetIdRef> for EmoteSetId
impl PartialEq<&EmoteSetIdRef> for EmoteSetId
Source§impl PartialEq<EmoteSetId> for &EmoteSetIdRef
impl PartialEq<EmoteSetId> for &EmoteSetIdRef
Source§impl PartialEq<EmoteSetId> for EmoteSetIdRef
impl PartialEq<EmoteSetId> for EmoteSetIdRef
Source§impl PartialEq<EmoteSetIdRef> for EmoteSetId
impl PartialEq<EmoteSetIdRef> for EmoteSetId
Source§impl PartialEq for EmoteSetIdRef
impl PartialEq for EmoteSetIdRef
Source§impl PartialOrd for EmoteSetIdRef
impl PartialOrd for EmoteSetIdRef
Source§impl Serialize for EmoteSetIdRef
Available on crate feature serde
only.
impl Serialize for EmoteSetIdRef
Available on crate feature
serde
only.Source§impl ToOwned for EmoteSetIdRef
impl ToOwned for EmoteSetIdRef
Source§type Owned = EmoteSetId
type Owned = EmoteSetId
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more