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