pub struct SearchHit {Show 22 fields
pub project_id: String,
pub project_type: String,
pub slug: String,
pub author: String,
pub title: String,
pub description: String,
pub categories: Vec<String>,
pub display_categories: Vec<String>,
pub versions: Vec<String>,
pub downloads: u64,
pub follows: u64,
pub icon_url: Option<String>,
pub thread_id: String,
pub monetization_status: String,
pub license: String,
pub client_side: String,
pub server_side: String,
pub date_created: String,
pub date_modified: String,
pub latest_version: Option<String>,
pub gallery: Vec<String>,
pub featured_gallery: Option<String>,
}Fields§
§project_id: String§project_type: String§slug: String§title: String§description: String§categories: Vec<String>§display_categories: Vec<String>§versions: Vec<String>§downloads: u64§follows: u64§icon_url: Option<String>§thread_id: String§monetization_status: String§license: String§client_side: String§server_side: String§date_created: String§date_modified: String§latest_version: Option<String>§gallery: Vec<String>§featured_gallery: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SearchHit
impl<'de> Deserialize<'de> for SearchHit
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 SearchHit
impl RefUnwindSafe for SearchHit
impl Send for SearchHit
impl Sync for SearchHit
impl Unpin for SearchHit
impl UnsafeUnpin for SearchHit
impl UnwindSafe for SearchHit
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