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<'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