pub struct WeatherMetadata {
pub date: String,
pub expiration_date: String,
pub location: CLLocation,
}Fields§
§date: String§expiration_date: String§location: CLLocationTrait Implementations§
Source§impl Clone for WeatherMetadata
impl Clone for WeatherMetadata
Source§fn clone(&self) -> WeatherMetadata
fn clone(&self) -> WeatherMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WeatherMetadata
impl Debug for WeatherMetadata
Source§impl<'de> Deserialize<'de> for WeatherMetadata
impl<'de> Deserialize<'de> for WeatherMetadata
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
Source§impl PartialEq for WeatherMetadata
impl PartialEq for WeatherMetadata
Source§fn eq(&self, other: &WeatherMetadata) -> bool
fn eq(&self, other: &WeatherMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeatherMetadata
Auto Trait Implementations§
impl Freeze for WeatherMetadata
impl RefUnwindSafe for WeatherMetadata
impl Send for WeatherMetadata
impl Sync for WeatherMetadata
impl Unpin for WeatherMetadata
impl UnsafeUnpin for WeatherMetadata
impl UnwindSafe for WeatherMetadata
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