Struct twitch_types::stream::ClipIdRef
source · pub struct ClipIdRef(/* private fields */);
Available on crate feature
stream
only.Expand description
A clip ID
Implementations§
source§impl ClipIdRef
impl ClipIdRef
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 ClipIdRef
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 ClipIdRef
sourcepub fn into_owned(self: Box<ClipIdRef>) -> ClipId
pub fn into_owned(self: Box<ClipIdRef>) -> ClipId
Converts a Box<ClipIdRef>
into a ClipId
without copying or allocating
Trait Implementations§
source§impl<'a> Arbitrary<'a> for &'a ClipIdRef
Available on crate feature arbitrary
only.
impl<'a> Arbitrary<'a> for &'a ClipIdRef
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 ClipIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a ClipIdRef
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<ClipIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<ClipIdRef>
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<&ClipIdRef> for ClipId
impl PartialEq<&ClipIdRef> for ClipId
source§impl PartialEq<ClipId> for &ClipIdRef
impl PartialEq<ClipId> for &ClipIdRef
source§impl PartialEq<ClipId> for ClipIdRef
impl PartialEq<ClipId> for ClipIdRef
source§impl PartialEq<ClipIdRef> for ClipId
impl PartialEq<ClipIdRef> for ClipId
source§impl PartialEq for ClipIdRef
impl PartialEq for ClipIdRef
source§impl PartialOrd for ClipIdRef
impl PartialOrd for ClipIdRef
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 moresource§impl ToOwned for ClipIdRef
impl ToOwned for ClipIdRef
source§impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef
Available on crate feature zerofrom
only.
impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef
Available on crate feature
zerofrom
only.