pub struct InputStoryAreaTypeWeather {
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 InputStoryAreaTypeWeather
impl Clone for InputStoryAreaTypeWeather
Source§fn clone(&self) -> InputStoryAreaTypeWeather
fn clone(&self) -> InputStoryAreaTypeWeather
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 InputStoryAreaTypeWeather
impl Debug for InputStoryAreaTypeWeather
Source§impl Default for InputStoryAreaTypeWeather
impl Default for InputStoryAreaTypeWeather
Source§fn default() -> InputStoryAreaTypeWeather
fn default() -> InputStoryAreaTypeWeather
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputStoryAreaTypeWeather
impl<'de> Deserialize<'de> for InputStoryAreaTypeWeather
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
impl StructuralPartialEq for InputStoryAreaTypeWeather
Auto Trait Implementations§
impl Freeze for InputStoryAreaTypeWeather
impl RefUnwindSafe for InputStoryAreaTypeWeather
impl Send for InputStoryAreaTypeWeather
impl Sync for InputStoryAreaTypeWeather
impl Unpin for InputStoryAreaTypeWeather
impl UnsafeUnpin for InputStoryAreaTypeWeather
impl UnwindSafe for InputStoryAreaTypeWeather
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