pub struct WeatherOptions {
pub days: Option<u32>,
pub hours: Option<u32>,
pub units: Option<Units>,
}Expand description
The options argument of get_weather.
Fields§
§days: Option<u32>§hours: Option<u32>§units: Option<Units>Trait Implementations§
Source§impl Clone for WeatherOptions
impl Clone for WeatherOptions
impl Copy for WeatherOptions
Source§impl Debug for WeatherOptions
impl Debug for WeatherOptions
Auto Trait Implementations§
impl Forget for WeatherOptions
impl Freeze for WeatherOptions
impl Move for WeatherOptions
impl RefUnwindSafe for WeatherOptions
impl Send for WeatherOptions
impl Sync for WeatherOptions
impl Unpin for WeatherOptions
impl UnsafeUnpin for WeatherOptions
impl UnwindSafe for WeatherOptions
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