pub struct GetMiscDistrictParams {
pub keywords_query: Option<String>,
pub adcode_query: Option<String>,
pub lat_query: Option<String>,
pub lng_query: Option<String>,
pub level_query: Option<String>,
pub country_query: Option<String>,
pub limit_query: Option<String>,
}Fields§
§keywords_query: Option<String>§adcode_query: Option<String>§lat_query: Option<String>§lng_query: Option<String>§level_query: Option<String>§country_query: Option<String>§limit_query: Option<String>Implementations§
Source§impl GetMiscDistrictParams
impl GetMiscDistrictParams
pub fn new() -> Self
pub fn keywords_query(self, value: impl Into<String>) -> Self
pub fn adcode_query(self, value: impl Into<String>) -> Self
pub fn lat_query(self, value: impl Into<String>) -> Self
pub fn lng_query(self, value: impl Into<String>) -> Self
pub fn level_query(self, value: impl Into<String>) -> Self
pub fn country_query(self, value: impl Into<String>) -> Self
pub fn limit_query(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetMiscDistrictParams
impl Clone for GetMiscDistrictParams
Source§fn clone(&self) -> GetMiscDistrictParams
fn clone(&self) -> GetMiscDistrictParams
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 moreAuto Trait Implementations§
impl Freeze for GetMiscDistrictParams
impl RefUnwindSafe for GetMiscDistrictParams
impl Send for GetMiscDistrictParams
impl Sync for GetMiscDistrictParams
impl Unpin for GetMiscDistrictParams
impl UnsafeUnpin for GetMiscDistrictParams
impl UnwindSafe for GetMiscDistrictParams
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