pub struct HfSearchResult {
pub items: Vec<HfRepoInfo>,
pub has_more: bool,
pub page: u32,
}Expand description
Result of a HuggingFace model search.
Fields§
§items: Vec<HfRepoInfo>Models matching the search
has_more: boolWhether more results are available
page: u32Current page number
Trait Implementations§
Source§impl Clone for HfSearchResult
impl Clone for HfSearchResult
Source§fn clone(&self) -> HfSearchResult
fn clone(&self) -> HfSearchResult
Returns a duplicate 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 HfSearchResult
impl Debug for HfSearchResult
Source§impl<'de> Deserialize<'de> for HfSearchResult
impl<'de> Deserialize<'de> for HfSearchResult
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 HfSearchResult
impl RefUnwindSafe for HfSearchResult
impl Send for HfSearchResult
impl Sync for HfSearchResult
impl Unpin for HfSearchResult
impl UnwindSafe for HfSearchResult
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