pub struct CharityCampaignId(/* private fields */);
Available on crate feature
stream
only.Expand description
A Charity Campaign ID
Implementations§
Source§impl CharityCampaignId
impl CharityCampaignId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newCharityCampaignIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<CharityCampaignIdRef>
pub fn into_boxed_ref(self) -> Box<CharityCampaignIdRef>
Converts this CharityCampaignId
into a Box<CharityCampaignIdRef>
This will drop any excess capacity.
Methods from Deref<Target = CharityCampaignIdRef>§
Sourcepub fn as_cow(&self) -> Cow<'_, CharityCampaignIdRef>
pub fn as_cow(&self) -> Cow<'_, CharityCampaignIdRef>
Trait Implementations§
Source§impl AsRef<CharityCampaignIdRef> for CharityCampaignId
impl AsRef<CharityCampaignIdRef> for CharityCampaignId
Source§fn as_ref(&self) -> &CharityCampaignIdRef
fn as_ref(&self) -> &CharityCampaignIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for CharityCampaignId
impl AsRef<str> for CharityCampaignId
Source§impl Borrow<CharityCampaignIdRef> for CharityCampaignId
impl Borrow<CharityCampaignIdRef> for CharityCampaignId
Source§fn borrow(&self) -> &CharityCampaignIdRef
fn borrow(&self) -> &CharityCampaignIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for CharityCampaignId
impl Borrow<str> for CharityCampaignId
Source§impl Clone for CharityCampaignId
impl Clone for CharityCampaignId
Source§fn clone(&self) -> CharityCampaignId
fn clone(&self) -> CharityCampaignId
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 CharityCampaignId
impl Debug for CharityCampaignId
Source§impl Deref for CharityCampaignId
impl Deref for CharityCampaignId
Source§impl<'de> Deserialize<'de> for CharityCampaignId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for CharityCampaignId
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 CharityCampaignId
impl Display for CharityCampaignId
Source§impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef
impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef
Source§fn from(owned: &'a CharityCampaignId) -> Self
fn from(owned: &'a CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a CharityCampaignId> for Collection<'a, CharityCampaignId>
impl<'a> From<&'a CharityCampaignId> for Collection<'a, CharityCampaignId>
Source§fn from(v: &'a CharityCampaignId) -> Self
fn from(v: &'a CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>
impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>
Source§fn from(owned: &'a CharityCampaignId) -> Self
fn from(owned: &'a CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl From<&CharityCampaignIdRef> for CharityCampaignId
impl From<&CharityCampaignIdRef> for CharityCampaignId
Source§fn from(s: &CharityCampaignIdRef) -> Self
fn from(s: &CharityCampaignIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for CharityCampaignId
impl From<&str> for CharityCampaignId
Source§impl From<Box<CharityCampaignIdRef>> for CharityCampaignId
impl From<Box<CharityCampaignIdRef>> for CharityCampaignId
Source§fn from(r: Box<CharityCampaignIdRef>) -> Self
fn from(r: Box<CharityCampaignIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<CharityCampaignId> for Box<CharityCampaignIdRef>
impl From<CharityCampaignId> for Box<CharityCampaignIdRef>
Source§fn from(r: CharityCampaignId) -> Self
fn from(r: CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>
impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>
Source§fn from(owned: CharityCampaignId) -> Self
fn from(owned: CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl From<CharityCampaignId> for String
impl From<CharityCampaignId> for String
Source§fn from(s: CharityCampaignId) -> Self
fn from(s: CharityCampaignId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId
impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId
Source§fn from(r: Cow<'a, CharityCampaignIdRef>) -> Self
fn from(r: Cow<'a, CharityCampaignIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<String> for CharityCampaignId
impl From<String> for CharityCampaignId
Source§impl FromStr for CharityCampaignId
impl FromStr for CharityCampaignId
Source§impl Hash for CharityCampaignId
impl Hash for CharityCampaignId
Source§impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId
impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId
Source§fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>
fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId
impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId
Source§fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>
fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for CharityCampaignId
impl Ord for CharityCampaignId
Source§impl PartialEq<&CharityCampaignId> for CharityCampaignId
impl PartialEq<&CharityCampaignId> for CharityCampaignId
Source§impl PartialEq for CharityCampaignId
impl PartialEq for CharityCampaignId
Source§impl PartialOrd for CharityCampaignId
impl PartialOrd for CharityCampaignId
Source§impl Serialize for CharityCampaignId
Available on crate feature serde
only.
impl Serialize for CharityCampaignId
Available on crate feature
serde
only.impl Eq for CharityCampaignId
impl StructuralPartialEq for CharityCampaignId
Auto Trait Implementations§
impl Freeze for CharityCampaignId
impl RefUnwindSafe for CharityCampaignId
impl Send for CharityCampaignId
impl Sync for CharityCampaignId
impl Unpin for CharityCampaignId
impl UnwindSafe for CharityCampaignId
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
)