pub struct StoryAreaTypeWeather {
pub temperature: f64,
pub emoji: String,
pub background_color: i32,
}Expand description
An area with information about weather
Fields§
§temperature: f64Temperature, in degree Celsius
emoji: StringEmoji representing the weather
background_color: i32A color of the area background in the ARGB format
Trait Implementations§
Source§impl Clone for StoryAreaTypeWeather
impl Clone for StoryAreaTypeWeather
Source§fn clone(&self) -> StoryAreaTypeWeather
fn clone(&self) -> StoryAreaTypeWeather
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 moreSource§impl Debug for StoryAreaTypeWeather
impl Debug for StoryAreaTypeWeather
Source§impl Default for StoryAreaTypeWeather
impl Default for StoryAreaTypeWeather
Source§fn default() -> StoryAreaTypeWeather
fn default() -> StoryAreaTypeWeather
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StoryAreaTypeWeather
impl<'de> Deserialize<'de> for StoryAreaTypeWeather
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 StoryAreaTypeWeather
impl PartialEq for StoryAreaTypeWeather
Source§impl Serialize for StoryAreaTypeWeather
impl Serialize for StoryAreaTypeWeather
impl StructuralPartialEq for StoryAreaTypeWeather
Auto Trait Implementations§
impl Freeze for StoryAreaTypeWeather
impl RefUnwindSafe for StoryAreaTypeWeather
impl Send for StoryAreaTypeWeather
impl Sync for StoryAreaTypeWeather
impl Unpin for StoryAreaTypeWeather
impl UnsafeUnpin for StoryAreaTypeWeather
impl UnwindSafe for StoryAreaTypeWeather
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