Struct twitch_types::stream::TagIdRef
source · pub struct TagIdRef(/* private fields */);
Available on crate feature
stream
only.Expand description
A tag ID
Implementations§
source§impl TagIdRef
impl TagIdRef
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 TagIdRef
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 TagIdRef
sourcepub fn into_owned(self: Box<TagIdRef>) -> TagId
pub fn into_owned(self: Box<TagIdRef>) -> TagId
Converts a Box<TagIdRef>
into a TagId
without copying or allocating
Trait Implementations§
source§impl<'a> Arbitrary<'a> for &'a TagIdRef
Available on crate feature arbitrary
only.
impl<'a> Arbitrary<'a> for &'a TagIdRef
Available on crate feature
arbitrary
only.source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef
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<TagIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<TagIdRef>
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 PartialEq<&TagIdRef> for TagId
impl PartialEq<&TagIdRef> for TagId
source§impl PartialEq<TagId> for &TagIdRef
impl PartialEq<TagId> for &TagIdRef
source§impl PartialEq<TagId> for TagIdRef
impl PartialEq<TagId> for TagIdRef
source§impl PartialEq<TagIdRef> for TagId
impl PartialEq<TagIdRef> for TagId
source§impl PartialEq for TagIdRef
impl PartialEq for TagIdRef
source§impl PartialOrd for TagIdRef
impl PartialOrd for TagIdRef
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