Struct twitch_api2::types::CreatorGoalId
source · [−]#[repr(transparent)]pub struct CreatorGoalId(_);
Expand description
A Creator Goal ID
Implementations
sourceimpl CreatorGoalId
impl CreatorGoalId
sourcepub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>
pub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>
Converts this CreatorGoalId
into a Box
<
CreatorGoalIdRef
>
This will drop any excess capacity.
sourcepub fn into_string(self) -> String
pub fn into_string(self) -> String
Unwraps the underlying String
value
Methods from Deref<Target = CreatorGoalIdRef>
Trait Implementations
sourceimpl AsRef<CreatorGoalIdRef> for CreatorGoalId
impl AsRef<CreatorGoalIdRef> for CreatorGoalId
sourcefn as_ref(&self) -> &CreatorGoalIdRef
fn as_ref(&self) -> &CreatorGoalIdRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<str> for CreatorGoalId
impl AsRef<str> for CreatorGoalId
sourceimpl Borrow<CreatorGoalIdRef> for CreatorGoalId
impl Borrow<CreatorGoalIdRef> for CreatorGoalId
sourcefn borrow(&self) -> &CreatorGoalIdRef
fn borrow(&self) -> &CreatorGoalIdRef
Immutably borrows from an owned value. Read more
sourceimpl Borrow<str> for CreatorGoalId
impl Borrow<str> for CreatorGoalId
sourceimpl Clone for CreatorGoalId
impl Clone for CreatorGoalId
sourcefn clone(&self) -> CreatorGoalId
fn clone(&self) -> CreatorGoalId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for CreatorGoalId
impl<'a> Debug for CreatorGoalId
sourceimpl Deref for CreatorGoalId
impl Deref for CreatorGoalId
type Target = CreatorGoalIdRef
type Target = CreatorGoalIdRef
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for CreatorGoalId
impl<'de> Deserialize<'de> for CreatorGoalId
sourcefn 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
sourceimpl<'a> Display for CreatorGoalId
impl<'a> Display for CreatorGoalId
sourceimpl From<&'_ CreatorGoalIdRef> for CreatorGoalId
impl From<&'_ CreatorGoalIdRef> for CreatorGoalId
sourcefn from(s: &CreatorGoalIdRef) -> Self
fn from(s: &CreatorGoalIdRef) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ str> for CreatorGoalId
impl From<&'_ str> for CreatorGoalId
sourceimpl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId
impl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId
sourcefn from(r: Box<CreatorGoalIdRef>) -> Self
fn from(r: Box<CreatorGoalIdRef>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId
impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId
sourcefn from(r: Cow<'a, CreatorGoalIdRef>) -> Self
fn from(r: Cow<'a, CreatorGoalIdRef>) -> Self
Converts to this type from the input type.
sourceimpl From<CreatorGoalId> for Box<CreatorGoalIdRef>
impl From<CreatorGoalId> for Box<CreatorGoalIdRef>
sourcefn from(r: CreatorGoalId) -> Self
fn from(r: CreatorGoalId) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>
impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>
sourcefn from(owned: CreatorGoalId) -> Self
fn from(owned: CreatorGoalId) -> Self
Converts to this type from the input type.
sourceimpl From<String> for CreatorGoalId
impl From<String> for CreatorGoalId
sourceimpl FromStr for CreatorGoalId
impl FromStr for CreatorGoalId
sourceimpl Hash for CreatorGoalId
impl Hash for CreatorGoalId
sourceimpl PartialEq<&'_ CreatorGoalIdRef> for CreatorGoalId
impl PartialEq<&'_ CreatorGoalIdRef> for CreatorGoalId
sourceimpl PartialEq<Box<CreatorGoalIdRef, Global>> for CreatorGoalId
impl PartialEq<Box<CreatorGoalIdRef, Global>> for CreatorGoalId
sourceimpl PartialEq<CreatorGoalId> for CreatorGoalId
impl PartialEq<CreatorGoalId> for CreatorGoalId
sourceimpl PartialEq<CreatorGoalId> for CreatorGoalIdRef
impl PartialEq<CreatorGoalId> for CreatorGoalIdRef
sourceimpl PartialEq<CreatorGoalId> for &CreatorGoalIdRef
impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef
sourceimpl PartialEq<CreatorGoalId> for Box<CreatorGoalIdRef>
impl PartialEq<CreatorGoalId> for Box<CreatorGoalIdRef>
sourceimpl PartialEq<CreatorGoalIdRef> for CreatorGoalId
impl PartialEq<CreatorGoalIdRef> for CreatorGoalId
sourceimpl Serialize for CreatorGoalId
impl Serialize for CreatorGoalId
impl Eq for CreatorGoalId
Auto Trait Implementations
impl RefUnwindSafe for CreatorGoalId
impl Send for CreatorGoalId
impl Sync for CreatorGoalId
impl Unpin for CreatorGoalId
impl UnwindSafe for CreatorGoalId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more