Struct scl_core::download::modrinth::SearchParams
source · pub struct SearchParams {
pub search_filter: String,
pub index: u64,
pub page_size: u64,
}
Expand description
搜索参数,将其传入到 self::search_mods
方法以搜索模组
Fields§
§search_filter: String
搜索关键词
index: u64
搜索结果的页码
page_size: u64
搜索结果的单页项目数量,最大为 100
Trait Implementations§
source§impl Default for SearchParams
impl Default for SearchParams
source§fn default() -> SearchParams
fn default() -> SearchParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SearchParams
impl Send for SearchParams
impl Sync for SearchParams
impl Unpin for SearchParams
impl UnwindSafe for SearchParams
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