#[non_exhaustive]pub struct UpdateChannelStreamScheduleSegmentBody<'a> {
pub start_time: Option<Cow<'a, str>>,
pub duration: Option<Cow<'a, str>>,
pub category_id: Option<Cow<'a, CategoryIdRef>>,
pub title: Option<Cow<'a, str>>,
pub is_canceled: Option<bool>,
pub timezone: Option<Cow<'a, str>>,
}helix only.Expand description
Body Parameters for Update Channel Stream Schedule Segment
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: Option<Cow<'a, str>>Start time for the scheduled broadcast specified in RFC3339 format.
duration: Option<Cow<'a, str>>Duration of the scheduled broadcast in minutes from the start_time. Default: 240.
category_id: Option<Cow<'a, CategoryIdRef>>Game/Category ID for the scheduled broadcast.
title: Option<Cow<'a, str>>Title for the scheduled broadcast. Maximum: 140 characters.
is_canceled: Option<bool>Indicated if the scheduled broadcast is canceled.
timezone: Option<Cow<'a, str>>The timezone of the application creating the scheduled broadcast using the IANA time zone database format.
Implementations§
Source§impl<'a> UpdateChannelStreamScheduleSegmentBody<'a>
impl<'a> UpdateChannelStreamScheduleSegmentBody<'a>
Sourcepub fn builder() -> UpdateChannelStreamScheduleSegmentBodyBuilder<'a, ((), (), (), (), (), ())>
pub fn builder() -> UpdateChannelStreamScheduleSegmentBodyBuilder<'a, ((), (), (), (), (), ())>
Create a builder for building UpdateChannelStreamScheduleSegmentBody.
On the builder, call .start_time(...)(optional), .duration(...)(optional), .category_id(...)(optional), .title(...)(optional), .is_canceled(...)(optional), .timezone(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of UpdateChannelStreamScheduleSegmentBody.
Trait Implementations§
Source§impl<'a> Clone for UpdateChannelStreamScheduleSegmentBody<'a>
impl<'a> Clone for UpdateChannelStreamScheduleSegmentBody<'a>
Source§fn clone(&self) -> UpdateChannelStreamScheduleSegmentBody<'a>
fn clone(&self) -> UpdateChannelStreamScheduleSegmentBody<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for UpdateChannelStreamScheduleSegmentBody<'a>
impl<'a> Debug for UpdateChannelStreamScheduleSegmentBody<'a>
Source§impl<'a> Default for UpdateChannelStreamScheduleSegmentBody<'a>
impl<'a> Default for UpdateChannelStreamScheduleSegmentBody<'a>
Source§fn default() -> UpdateChannelStreamScheduleSegmentBody<'a>
fn default() -> UpdateChannelStreamScheduleSegmentBody<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for UpdateChannelStreamScheduleSegmentBody<'a>
impl<'de: 'a, 'a> Deserialize<'de> for UpdateChannelStreamScheduleSegmentBody<'a>
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>,
Source§impl<'a> PartialEq for UpdateChannelStreamScheduleSegmentBody<'a>
impl<'a> PartialEq for UpdateChannelStreamScheduleSegmentBody<'a>
Source§fn eq(&self, other: &UpdateChannelStreamScheduleSegmentBody<'a>) -> bool
fn eq(&self, other: &UpdateChannelStreamScheduleSegmentBody<'a>) -> bool
self and other values to be equal, and is used by ==.