pub struct Weather {
pub location: String,
pub temperature: Temperature,
pub summary: String,
}Expand description
The weather conditions for a given location.
Fields§
§location: String§temperature: Temperature§summary: StringTrait Implementations§
impl StructuralPartialEq for Weather
Auto Trait Implementations§
impl Freeze for Weather
impl RefUnwindSafe for Weather
impl Send for Weather
impl Sync for Weather
impl Unpin for Weather
impl UnwindSafe for Weather
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