Struct twitch_api::helix::streams::ReplaceStreamTagsBody
source · [−]Available on crate feature
helix
only.Expand description
Body Parameters for Replace Stream Tags
Notes
Up to five tags can be applied to a stream. If no tag_ids
is provided, all tags are removed from the stream.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.tag_ids: Cow<'a, [&'a TagIdRef]>
IDs of tags to be applied to the stream.
Implementations
sourceimpl<'a> ReplaceStreamTagsBody<'a>
impl<'a> ReplaceStreamTagsBody<'a>
Trait Implementations
sourceimpl<'a> Clone for ReplaceStreamTagsBody<'a>
impl<'a> Clone for ReplaceStreamTagsBody<'a>
sourcefn clone(&self) -> ReplaceStreamTagsBody<'a>
fn clone(&self) -> ReplaceStreamTagsBody<'a>
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 moresourceimpl<'a> Debug for ReplaceStreamTagsBody<'a>
impl<'a> Debug for ReplaceStreamTagsBody<'a>
sourceimpl<'a> Default for ReplaceStreamTagsBody<'a>
impl<'a> Default for ReplaceStreamTagsBody<'a>
sourcefn default() -> ReplaceStreamTagsBody<'a>
fn default() -> ReplaceStreamTagsBody<'a>
Returns the “default value” for a type. Read more
sourceimpl<'de: 'a, 'a> Deserialize<'de> for ReplaceStreamTagsBody<'a>
impl<'de: 'a, 'a> Deserialize<'de> for ReplaceStreamTagsBody<'a>
sourcefn 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
sourceimpl<'a> PartialEq<ReplaceStreamTagsBody<'a>> for ReplaceStreamTagsBody<'a>
impl<'a> PartialEq<ReplaceStreamTagsBody<'a>> for ReplaceStreamTagsBody<'a>
sourcefn eq(&self, other: &ReplaceStreamTagsBody<'a>) -> bool
fn eq(&self, other: &ReplaceStreamTagsBody<'a>) -> bool
sourceimpl<'a> Serialize for ReplaceStreamTagsBody<'a>
impl<'a> Serialize for ReplaceStreamTagsBody<'a>
impl<'a> Eq for ReplaceStreamTagsBody<'a>
impl<'a> StructuralEq for ReplaceStreamTagsBody<'a>
impl<'a> StructuralPartialEq for ReplaceStreamTagsBody<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ReplaceStreamTagsBody<'a>
impl<'a> Send for ReplaceStreamTagsBody<'a>
impl<'a> Sync for ReplaceStreamTagsBody<'a>
impl<'a> Unpin for ReplaceStreamTagsBody<'a>
impl<'a> UnwindSafe for ReplaceStreamTagsBody<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
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> HelixRequestBody for Twhere
T: Serialize + SealedSerialize,
impl<T> HelixRequestBody for Twhere
T: Serialize + SealedSerialize,
sourcefn try_to_body(&self) -> Result<Bytes, BodyError>
fn try_to_body(&self) -> Result<Bytes, BodyError>
Available on crate feature
helix
only.Create the body