pub struct PredictionBeginData {
pub id: String,
pub broadcaster: User,
pub title: String,
pub outcomes: Vec<BeginOutcome>,
pub started_at: String,
pub locks_at: String,
}Fields§
§id: String§broadcaster: User§title: String§outcomes: Vec<BeginOutcome>§started_at: String§locks_at: StringTrait Implementations§
Source§impl Clone for PredictionBeginData
impl Clone for PredictionBeginData
Source§fn clone(&self) -> PredictionBeginData
fn clone(&self) -> PredictionBeginData
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 PredictionBeginData
impl Debug for PredictionBeginData
Source§impl<'de> Deserialize<'de> for PredictionBeginData
impl<'de> Deserialize<'de> for PredictionBeginData
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 PredictionBeginData
impl RefUnwindSafe for PredictionBeginData
impl Send for PredictionBeginData
impl Sync for PredictionBeginData
impl Unpin for PredictionBeginData
impl UnwindSafe for PredictionBeginData
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