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