pub struct CampaignId(pub String);Expand description
Opaque campaign identifier.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for CampaignId
impl Clone for CampaignId
Source§fn clone(&self) -> CampaignId
fn clone(&self) -> CampaignId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CampaignId
impl Debug for CampaignId
Source§impl<'de> Deserialize<'de> for CampaignId
impl<'de> Deserialize<'de> for CampaignId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CampaignId
impl Display for CampaignId
impl Eq for CampaignId
Source§impl Hash for CampaignId
impl Hash for CampaignId
Source§impl PartialEq for CampaignId
impl PartialEq for CampaignId
Source§fn eq(&self, other: &CampaignId) -> bool
fn eq(&self, other: &CampaignId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CampaignId
impl Serialize for CampaignId
impl StructuralPartialEq for CampaignId
Auto Trait Implementations§
impl Freeze for CampaignId
impl RefUnwindSafe for CampaignId
impl Send for CampaignId
impl Sync for CampaignId
impl Unpin for CampaignId
impl UnsafeUnpin for CampaignId
impl UnwindSafe for CampaignId
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.