Struct metaculus::models::prediction_input::PredictionInput
source · pub struct PredictionInput {
pub prediction: Option<HashMap<String, Value>>,
}
Fields§
§prediction: Option<HashMap<String, Value>>
Implementations§
Trait Implementations§
source§impl Clone for PredictionInput
impl Clone for PredictionInput
source§fn clone(&self) -> PredictionInput
fn clone(&self) -> PredictionInput
Returns a copy 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 PredictionInput
impl Debug for PredictionInput
source§impl<'de> Deserialize<'de> for PredictionInput
impl<'de> Deserialize<'de> for PredictionInput
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
source§impl PartialEq for PredictionInput
impl PartialEq for PredictionInput
source§fn eq(&self, other: &PredictionInput) -> bool
fn eq(&self, other: &PredictionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PredictionInput
impl Serialize for PredictionInput
impl StructuralPartialEq for PredictionInput
Auto Trait Implementations§
impl RefUnwindSafe for PredictionInput
impl Send for PredictionInput
impl Sync for PredictionInput
impl Unpin for PredictionInput
impl UnwindSafe for PredictionInput
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