pub struct Question {
pub tagged: Option<String>,
pub owner: User,
pub is_answered: bool,
pub view_count: u32,
pub favorite_count: Option<u32>,
pub down_vote_count: Option<u32>,
pub answer_count: u32,
pub score: u32,
pub last_activity_date: u32,
pub creation_date: u32,
pub question_id: u32,
pub title: String,
}
Fields§
§tagged: Option<String>
§owner: User
§is_answered: bool
§view_count: u32
§favorite_count: Option<u32>
§down_vote_count: Option<u32>
§answer_count: u32
§score: u32
§last_activity_date: u32
§creation_date: u32
§question_id: u32
§title: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Question
impl<'de> Deserialize<'de> for Question
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 Question
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnwindSafe for Question
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