Struct twitch_api2::types::BadgeSetId
source · [−]#[repr(transparent)]pub struct BadgeSetId(_);
Expand description
A Badge set ID
Implementations
sourceimpl BadgeSetId
impl BadgeSetId
sourcepub fn into_boxed_ref(self) -> Box<BadgeSetIdRef>
pub fn into_boxed_ref(self) -> Box<BadgeSetIdRef>
Converts this BadgeSetId
into a Box
<
BadgeSetIdRef
>
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 = BadgeSetIdRef>
Trait Implementations
sourceimpl AsRef<BadgeSetIdRef> for BadgeSetId
impl AsRef<BadgeSetIdRef> for BadgeSetId
sourcefn as_ref(&self) -> &BadgeSetIdRef
fn as_ref(&self) -> &BadgeSetIdRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<str> for BadgeSetId
impl AsRef<str> for BadgeSetId
sourceimpl Borrow<BadgeSetIdRef> for BadgeSetId
impl Borrow<BadgeSetIdRef> for BadgeSetId
sourcefn borrow(&self) -> &BadgeSetIdRef
fn borrow(&self) -> &BadgeSetIdRef
Immutably borrows from an owned value. Read more
sourceimpl Borrow<str> for BadgeSetId
impl Borrow<str> for BadgeSetId
sourceimpl Clone for BadgeSetId
impl Clone for BadgeSetId
sourcefn clone(&self) -> BadgeSetId
fn clone(&self) -> BadgeSetId
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 BadgeSetId
impl<'a> Debug for BadgeSetId
sourceimpl Deref for BadgeSetId
impl Deref for BadgeSetId
type Target = BadgeSetIdRef
type Target = BadgeSetIdRef
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for BadgeSetId
impl<'de> Deserialize<'de> for BadgeSetId
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 BadgeSetId
impl<'a> Display for BadgeSetId
sourceimpl From<&'_ BadgeSetIdRef> for BadgeSetId
impl From<&'_ BadgeSetIdRef> for BadgeSetId
sourcefn from(s: &BadgeSetIdRef) -> Self
fn from(s: &BadgeSetIdRef) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ str> for BadgeSetId
impl From<&'_ str> for BadgeSetId
sourceimpl From<BadgeSetId> for Box<BadgeSetIdRef>
impl From<BadgeSetId> for Box<BadgeSetIdRef>
sourcefn from(r: BadgeSetId) -> Self
fn from(r: BadgeSetId) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>
impl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>
sourcefn from(owned: BadgeSetId) -> Self
fn from(owned: BadgeSetId) -> Self
Converts to this type from the input type.
sourceimpl From<Box<BadgeSetIdRef, Global>> for BadgeSetId
impl From<Box<BadgeSetIdRef, Global>> for BadgeSetId
sourcefn from(r: Box<BadgeSetIdRef>) -> Self
fn from(r: Box<BadgeSetIdRef>) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId
impl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId
sourcefn from(r: Cow<'a, BadgeSetIdRef>) -> Self
fn from(r: Cow<'a, BadgeSetIdRef>) -> Self
Converts to this type from the input type.
sourceimpl From<String> for BadgeSetId
impl From<String> for BadgeSetId
sourceimpl FromStr for BadgeSetId
impl FromStr for BadgeSetId
sourceimpl Hash for BadgeSetId
impl Hash for BadgeSetId
sourceimpl PartialEq<&'_ BadgeSetIdRef> for BadgeSetId
impl PartialEq<&'_ BadgeSetIdRef> for BadgeSetId
sourceimpl PartialEq<BadgeSetId> for BadgeSetId
impl PartialEq<BadgeSetId> for BadgeSetId
sourceimpl PartialEq<BadgeSetId> for BadgeSetIdRef
impl PartialEq<BadgeSetId> for BadgeSetIdRef
sourceimpl PartialEq<BadgeSetId> for &BadgeSetIdRef
impl PartialEq<BadgeSetId> for &BadgeSetIdRef
sourceimpl PartialEq<BadgeSetId> for Box<BadgeSetIdRef>
impl PartialEq<BadgeSetId> for Box<BadgeSetIdRef>
sourceimpl PartialEq<BadgeSetIdRef> for BadgeSetId
impl PartialEq<BadgeSetIdRef> for BadgeSetId
sourceimpl PartialEq<Box<BadgeSetIdRef, Global>> for BadgeSetId
impl PartialEq<Box<BadgeSetIdRef, Global>> for BadgeSetId
sourceimpl Serialize for BadgeSetId
impl Serialize for BadgeSetId
impl Eq for BadgeSetId
Auto Trait Implementations
impl RefUnwindSafe for BadgeSetId
impl Send for BadgeSetId
impl Sync for BadgeSetId
impl Unpin for BadgeSetId
impl UnwindSafe for BadgeSetId
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