pub struct PredictionOutcome {
pub id: String,
pub title: String,
pub users: i64,
pub channel_points: i64,
pub top_predictors: Option<Vec<PredictionTopPredictor>>,
pub color: String,
}
Fields§
§id: String
§title: String
§users: i64
§channel_points: i64
§top_predictors: Option<Vec<PredictionTopPredictor>>
§color: String
Trait Implementations§
Source§impl Clone for PredictionOutcome
impl Clone for PredictionOutcome
Source§fn clone(&self) -> PredictionOutcome
fn clone(&self) -> PredictionOutcome
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 PredictionOutcome
impl Debug for PredictionOutcome
Source§impl<'de> Deserialize<'de> for PredictionOutcome
impl<'de> Deserialize<'de> for PredictionOutcome
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 PredictionOutcome
impl RefUnwindSafe for PredictionOutcome
impl Send for PredictionOutcome
impl Sync for PredictionOutcome
impl Unpin for PredictionOutcome
impl UnwindSafe for PredictionOutcome
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