pub struct GetMiscWeatherParams {
pub city_query: Option<String>,
pub adcode_query: Option<String>,
}Fields§
§city_query: Option<String>§adcode_query: Option<String>Implementations§
Source§impl GetMiscWeatherParams
impl GetMiscWeatherParams
pub fn new() -> Self
pub fn city_query(self, value: impl Into<String>) -> Self
pub fn adcode_query(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetMiscWeatherParams
impl Clone for GetMiscWeatherParams
Source§fn clone(&self) -> GetMiscWeatherParams
fn clone(&self) -> GetMiscWeatherParams
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 GetMiscWeatherParams
impl RefUnwindSafe for GetMiscWeatherParams
impl Send for GetMiscWeatherParams
impl Sync for GetMiscWeatherParams
impl Unpin for GetMiscWeatherParams
impl UnwindSafe for GetMiscWeatherParams
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