Struct weather_cli::user_setup::ApiSetting
source · pub struct ApiSetting {
pub key: String,
}Expand description
Data type for the API setting file.
Fields§
§key: StringTrait Implementations§
source§impl Clone for ApiSetting
impl Clone for ApiSetting
source§fn clone(&self) -> ApiSetting
fn clone(&self) -> ApiSetting
Returns a copy 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 ApiSetting
impl Debug for ApiSetting
source§impl<'de> Deserialize<'de> for ApiSetting
impl<'de> Deserialize<'de> for ApiSetting
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
Auto Trait Implementations§
impl RefUnwindSafe for ApiSetting
impl Send for ApiSetting
impl Sync for ApiSetting
impl Unpin for ApiSetting
impl UnwindSafe for ApiSetting
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