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