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