pub struct CreatorGoalIdRef(/* private fields */);
Available on crate feature
goal
only.Expand description
A Creator Goal ID
Implementations§
Source§impl CreatorGoalIdRef
impl CreatorGoalIdRef
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 CreatorGoalIdRef
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 CreatorGoalIdRef
Sourcepub fn into_owned(self: Box<CreatorGoalIdRef>) -> CreatorGoalId
pub fn into_owned(self: Box<CreatorGoalIdRef>) -> CreatorGoalId
Converts a Box<CreatorGoalIdRef>
into a CreatorGoalId
without copying or allocating
Source§impl CreatorGoalIdRef
impl CreatorGoalIdRef
Sourcepub fn as_cow(&self) -> Cow<'_, CreatorGoalIdRef>
pub fn as_cow(&self) -> Cow<'_, CreatorGoalIdRef>
Trait Implementations§
Source§impl AsRef<CreatorGoalIdRef> for CreatorGoalId
impl AsRef<CreatorGoalIdRef> for CreatorGoalId
Source§fn as_ref(&self) -> &CreatorGoalIdRef
fn as_ref(&self) -> &CreatorGoalIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for CreatorGoalIdRef
impl AsRef<str> for CreatorGoalIdRef
Source§impl Borrow<CreatorGoalIdRef> for CreatorGoalId
impl Borrow<CreatorGoalIdRef> for CreatorGoalId
Source§fn borrow(&self) -> &CreatorGoalIdRef
fn borrow(&self) -> &CreatorGoalIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for CreatorGoalIdRef
impl Borrow<str> for CreatorGoalIdRef
Source§impl Debug for CreatorGoalIdRef
impl Debug for CreatorGoalIdRef
Source§impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef
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<CreatorGoalIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<CreatorGoalIdRef>
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 Display for CreatorGoalIdRef
impl Display for CreatorGoalIdRef
Source§impl<'a> From<&'a &'a CreatorGoalIdRef> for Collection<'a, CreatorGoalId>
impl<'a> From<&'a &'a CreatorGoalIdRef> for Collection<'a, CreatorGoalId>
Source§fn from(v: &'a &'a CreatorGoalIdRef) -> Self
fn from(v: &'a &'a CreatorGoalIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef
Source§fn from(r: &'a Cow<'b, CreatorGoalIdRef>) -> &'a CreatorGoalIdRef
fn from(r: &'a Cow<'b, CreatorGoalIdRef>) -> &'a CreatorGoalIdRef
Converts to this type from the input type.
Source§impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef
impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef
Source§fn from(owned: &'a CreatorGoalId) -> Self
fn from(owned: &'a CreatorGoalId) -> Self
Converts to this type from the input type.
Source§impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>
impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>
Source§fn from(r: &CreatorGoalIdRef) -> Self
fn from(r: &CreatorGoalIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>
impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>
Source§fn from(r: &'a CreatorGoalIdRef) -> Self
fn from(r: &'a CreatorGoalIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&CreatorGoalIdRef> for CreatorGoalId
impl From<&CreatorGoalIdRef> for CreatorGoalId
Source§fn from(s: &CreatorGoalIdRef) -> Self
fn from(s: &CreatorGoalIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>
impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>
Source§fn from(r: &CreatorGoalIdRef) -> Self
fn from(r: &CreatorGoalIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a String> for &'a CreatorGoalIdRef
impl<'a> From<&'a String> for &'a CreatorGoalIdRef
Source§impl<'a> From<&'a str> for &'a CreatorGoalIdRef
impl<'a> From<&'a str> for &'a CreatorGoalIdRef
Source§fn from(s: &'a str) -> &'a CreatorGoalIdRef
fn from(s: &'a str) -> &'a CreatorGoalIdRef
Converts to this type from the input type.
Source§impl From<CreatorGoalId> for Box<CreatorGoalIdRef>
impl From<CreatorGoalId> for Box<CreatorGoalIdRef>
Source§fn from(r: CreatorGoalId) -> Self
fn from(r: CreatorGoalId) -> Self
Converts to this type from the input type.
Source§impl Hash for CreatorGoalIdRef
impl Hash for CreatorGoalIdRef
Source§impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId
impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId
Source§fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef
impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef
Source§fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId
impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId
Source§fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for CreatorGoalIdRef
impl Ord for CreatorGoalIdRef
Source§impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId
impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId
Source§impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef
impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef
Source§impl PartialEq<CreatorGoalId> for CreatorGoalIdRef
impl PartialEq<CreatorGoalId> for CreatorGoalIdRef
Source§impl PartialEq<CreatorGoalIdRef> for CreatorGoalId
impl PartialEq<CreatorGoalIdRef> for CreatorGoalId
Source§impl PartialEq for CreatorGoalIdRef
impl PartialEq for CreatorGoalIdRef
Source§impl PartialOrd for CreatorGoalIdRef
impl PartialOrd for CreatorGoalIdRef
Source§impl Serialize for CreatorGoalIdRef
Available on crate feature serde
only.
impl Serialize for CreatorGoalIdRef
Available on crate feature
serde
only.Source§impl ToOwned for CreatorGoalIdRef
impl ToOwned for CreatorGoalIdRef
Source§type Owned = CreatorGoalId
type Owned = CreatorGoalId
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more