pub struct WeatherErrorDescriptor {
pub raw_value: String,
pub error_description: Option<String>,
pub failure_reason: Option<String>,
pub help_anchor: Option<String>,
pub recovery_suggestion: Option<String>,
}Expand description
Represents the WeatherKit WeatherErrorDescriptor payload.
Fields§
§raw_value: StringMatches the WeatherKit raw value value.
error_description: Option<String>Matches the WeatherKit error description value.
failure_reason: Option<String>Matches the WeatherKit failure reason value.
help_anchor: Option<String>Matches the WeatherKit help anchor value.
recovery_suggestion: Option<String>Matches the WeatherKit recovery suggestion value.
Trait Implementations§
Source§impl Clone for WeatherErrorDescriptor
impl Clone for WeatherErrorDescriptor
Source§fn clone(&self) -> WeatherErrorDescriptor
fn clone(&self) -> WeatherErrorDescriptor
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 WeatherErrorDescriptor
impl Debug for WeatherErrorDescriptor
Source§impl<'de> Deserialize<'de> for WeatherErrorDescriptor
impl<'de> Deserialize<'de> for WeatherErrorDescriptor
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 WeatherErrorDescriptor
impl PartialEq for WeatherErrorDescriptor
Source§fn eq(&self, other: &WeatherErrorDescriptor) -> bool
fn eq(&self, other: &WeatherErrorDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WeatherErrorDescriptor
impl StructuralPartialEq for WeatherErrorDescriptor
Auto Trait Implementations§
impl Freeze for WeatherErrorDescriptor
impl RefUnwindSafe for WeatherErrorDescriptor
impl Send for WeatherErrorDescriptor
impl Sync for WeatherErrorDescriptor
impl Unpin for WeatherErrorDescriptor
impl UnsafeUnpin for WeatherErrorDescriptor
impl UnwindSafe for WeatherErrorDescriptor
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