pub struct SearchSchoolsParams {
pub q: Option<String>,
pub verified: Option<bool>,
pub page: Page,
pub page_limit: PageLimit,
}
Expand description
Request to list school names
Fields§
§q: Option<String>
String to search school names by
verified: Option<bool>
If Some
then whether to filter by verified or unverified, otherwise return all schools
page: Page
Current page of results
page_limit: PageLimit
Total schools per page to return
Trait Implementations§
Source§impl Clone for SearchSchoolsParams
impl Clone for SearchSchoolsParams
Source§fn clone(&self) -> SearchSchoolsParams
fn clone(&self) -> SearchSchoolsParams
Returns a copy 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 SearchSchoolsParams
impl Debug for SearchSchoolsParams
Source§impl Default for SearchSchoolsParams
impl Default for SearchSchoolsParams
Source§fn default() -> SearchSchoolsParams
fn default() -> SearchSchoolsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchSchoolsParams
impl<'de> Deserialize<'de> for SearchSchoolsParams
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 SearchSchoolsParams
impl RefUnwindSafe for SearchSchoolsParams
impl Send for SearchSchoolsParams
impl Sync for SearchSchoolsParams
impl Unpin for SearchSchoolsParams
impl UnwindSafe for SearchSchoolsParams
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