pub struct PollBeginData {
pub id: String,
pub broadcaster: User,
pub title: String,
pub choices: Vec<BeginChoices>,
pub bits_voting: BitsVotingData,
pub channel_points_voting: ChannelPointsVoting,
pub started_at: String,
pub ends_at: String,
}Fields§
§id: String§broadcaster: User§title: String§choices: Vec<BeginChoices>§bits_voting: BitsVotingData§channel_points_voting: ChannelPointsVoting§started_at: String§ends_at: StringTrait Implementations§
Source§impl Clone for PollBeginData
impl Clone for PollBeginData
Source§fn clone(&self) -> PollBeginData
fn clone(&self) -> PollBeginData
Returns a duplicate of the value. Read more
1.0.0 · 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 PollBeginData
impl Debug for PollBeginData
Source§impl<'de> Deserialize<'de> for PollBeginData
impl<'de> Deserialize<'de> for PollBeginData
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
Auto Trait Implementations§
impl Freeze for PollBeginData
impl RefUnwindSafe for PollBeginData
impl Send for PollBeginData
impl Sync for PollBeginData
impl Unpin for PollBeginData
impl UnwindSafe for PollBeginData
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