Struct twitch_types::stream::ClipId
source · pub struct ClipId(/* private fields */);
Available on crate feature
stream
only.Expand description
A clip ID
Implementations§
source§impl ClipId
impl ClipId
sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newClipIdfrom a static reference
sourcepub fn into_boxed_ref(self) -> Box<ClipIdRef>
pub fn into_boxed_ref(self) -> Box<ClipIdRef>
Converts this ClipId
into a Box<ClipIdRef>
This will drop any excess capacity.
Methods from Deref<Target = ClipIdRef>§
sourcepub fn as_cow(&self) -> Cow<'_, ClipIdRef>
pub fn as_cow(&self) -> Cow<'_, ClipIdRef>
Get a
Cow<'_, ClipIdRef>
Trait Implementations§
source§impl<'a> Arbitrary<'a> for ClipId
Available on crate feature arbitrary
only.
impl<'a> Arbitrary<'a> for ClipId
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> Deserialize<'de> for ClipId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for ClipId
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 Ord for ClipId
impl Ord for ClipId
source§impl PartialEq<&ClipId> for ClipId
impl PartialEq<&ClipId> for ClipId
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 ClipId
impl PartialEq for ClipId
source§impl PartialOrd for ClipId
impl PartialOrd for ClipId
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 moreimpl Eq for ClipId
impl StructuralPartialEq for ClipId
Auto Trait Implementations§
impl Freeze for ClipId
impl RefUnwindSafe for ClipId
impl Send for ClipId
impl Sync for ClipId
impl Unpin for ClipId
impl UnwindSafe for ClipId
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