pub struct CategoryDetails {
pub id: u8,
pub question_count: QuestionCount,
}Expand description
The details of a specified category.
Fields§
§id: u8The id of the category.
question_count: QuestionCountThe question data about the category.
Trait Implementations§
Source§impl Debug for CategoryDetails
impl Debug for CategoryDetails
Source§impl<'de> Deserialize<'de> for CategoryDetails
impl<'de> Deserialize<'de> for CategoryDetails
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 CategoryDetails
impl RefUnwindSafe for CategoryDetails
impl Send for CategoryDetails
impl Sync for CategoryDetails
impl Unpin for CategoryDetails
impl UnwindSafe for CategoryDetails
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