pub struct CreatorGoalId(/* private fields */);
Available on crate feature
goal
only.Expand description
A Creator Goal ID
Implementations§
Source§impl CreatorGoalId
impl CreatorGoalId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newCreatorGoalIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>
pub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>
Converts this CreatorGoalId
into a Box<CreatorGoalIdRef>
This will drop any excess capacity.
Methods from Deref<Target = 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 CreatorGoalId
impl AsRef<str> for CreatorGoalId
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 CreatorGoalId
impl Borrow<str> for CreatorGoalId
Source§impl Clone for CreatorGoalId
impl Clone for CreatorGoalId
Source§fn clone(&self) -> CreatorGoalId
fn clone(&self) -> CreatorGoalId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreatorGoalId
impl Debug for CreatorGoalId
Source§impl Deref for CreatorGoalId
impl Deref for CreatorGoalId
Source§impl<'de> Deserialize<'de> for CreatorGoalId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for CreatorGoalId
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 CreatorGoalId
impl Display for CreatorGoalId
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<'a> From<&'a CreatorGoalId> for Collection<'a, CreatorGoalId>
impl<'a> From<&'a CreatorGoalId> for Collection<'a, CreatorGoalId>
Source§fn from(v: &'a CreatorGoalId) -> Self
fn from(v: &'a CreatorGoalId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a CreatorGoalId> for Cow<'a, CreatorGoalIdRef>
impl<'a> From<&'a CreatorGoalId> for Cow<'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 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<&str> for CreatorGoalId
impl From<&str> for CreatorGoalId
Source§impl From<Box<CreatorGoalIdRef>> for CreatorGoalId
impl From<Box<CreatorGoalIdRef>> for CreatorGoalId
Source§fn from(r: Box<CreatorGoalIdRef>) -> Self
fn from(r: Box<CreatorGoalIdRef>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId
impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId
Source§fn from(r: Cow<'a, CreatorGoalIdRef>) -> Self
fn from(r: Cow<'a, CreatorGoalIdRef>) -> Self
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<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>
impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>
Source§fn from(owned: CreatorGoalId) -> Self
fn from(owned: CreatorGoalId) -> Self
Converts to this type from the input type.
Source§impl From<CreatorGoalId> for String
impl From<CreatorGoalId> for String
Source§fn from(s: CreatorGoalId) -> Self
fn from(s: CreatorGoalId) -> Self
Converts to this type from the input type.
Source§impl From<String> for CreatorGoalId
impl From<String> for CreatorGoalId
Source§impl FromStr for CreatorGoalId
impl FromStr for CreatorGoalId
Source§impl Hash for CreatorGoalId
impl Hash for CreatorGoalId
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 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 CreatorGoalId
impl Ord for CreatorGoalId
Source§impl PartialEq<&CreatorGoalId> for CreatorGoalId
impl PartialEq<&CreatorGoalId> for CreatorGoalId
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 CreatorGoalId
impl PartialEq for CreatorGoalId
Source§impl PartialOrd for CreatorGoalId
impl PartialOrd for CreatorGoalId
Source§impl Serialize for CreatorGoalId
Available on crate feature serde
only.
impl Serialize for CreatorGoalId
Available on crate feature
serde
only.impl Eq for CreatorGoalId
impl StructuralPartialEq for CreatorGoalId
Auto Trait Implementations§
impl Freeze for CreatorGoalId
impl RefUnwindSafe for CreatorGoalId
impl Send for CreatorGoalId
impl Sync for CreatorGoalId
impl Unpin for CreatorGoalId
impl UnwindSafe for CreatorGoalId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)