pub struct CharityDonationIdRef(/* private fields */);
Available on crate feature
stream
only.Expand description
A Charity Donation ID
Implementations§
Source§impl CharityDonationIdRef
impl CharityDonationIdRef
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 CharityDonationIdRef
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 CharityDonationIdRef
Sourcepub fn into_owned(self: Box<CharityDonationIdRef>) -> CharityDonationId
pub fn into_owned(self: Box<CharityDonationIdRef>) -> CharityDonationId
Converts a Box<CharityDonationIdRef>
into a CharityDonationId
without copying or allocating
Source§impl CharityDonationIdRef
impl 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 CharityDonationIdRef
impl AsRef<str> for CharityDonationIdRef
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 CharityDonationIdRef
impl Borrow<str> for CharityDonationIdRef
Source§impl Debug for CharityDonationIdRef
impl Debug for CharityDonationIdRef
Source§impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef
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<CharityDonationIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<CharityDonationIdRef>
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 CharityDonationIdRef
impl Display for CharityDonationIdRef
Source§impl<'a> From<&'a &'a CharityDonationIdRef> for Collection<'a, CharityDonationId>
impl<'a> From<&'a &'a CharityDonationIdRef> for Collection<'a, CharityDonationId>
Source§fn from(v: &'a &'a CharityDonationIdRef) -> Self
fn from(v: &'a &'a CharityDonationIdRef) -> Self
Converts to this type from the input type.
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 From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>
impl From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>
Source§fn from(r: &CharityDonationIdRef) -> Self
fn from(r: &CharityDonationIdRef) -> 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<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>
impl<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>
Source§fn from(r: &'a CharityDonationIdRef) -> Self
fn from(r: &'a CharityDonationIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>
impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>
Source§fn from(r: &CharityDonationIdRef) -> Self
fn from(r: &CharityDonationIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef
Source§fn from(r: &'a Cow<'b, CharityDonationIdRef>) -> &'a CharityDonationIdRef
fn from(r: &'a Cow<'b, CharityDonationIdRef>) -> &'a CharityDonationIdRef
Converts to this type from the input type.
Source§impl<'a> From<&'a String> for &'a CharityDonationIdRef
impl<'a> From<&'a String> for &'a CharityDonationIdRef
Source§impl<'a> From<&'a str> for &'a CharityDonationIdRef
impl<'a> From<&'a str> for &'a CharityDonationIdRef
Source§fn from(s: &'a str) -> &'a CharityDonationIdRef
fn from(s: &'a str) -> &'a CharityDonationIdRef
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 Hash for CharityDonationIdRef
impl Hash for CharityDonationIdRef
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 &'a CharityDonationIdRef
impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationIdRef
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 CharityDonationIdRef
impl Ord for CharityDonationIdRef
Source§impl PartialEq for CharityDonationIdRef
impl PartialEq for CharityDonationIdRef
Source§impl PartialOrd for CharityDonationIdRef
impl PartialOrd for CharityDonationIdRef
Source§impl Serialize for CharityDonationIdRef
Available on crate feature serde
only.
impl Serialize for CharityDonationIdRef
Available on crate feature
serde
only.Source§impl ToOwned for CharityDonationIdRef
impl ToOwned for CharityDonationIdRef
Source§type Owned = CharityDonationId
type Owned = CharityDonationId
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