pub struct CountriesConfig {
pub version: String,
pub countries: Vec<CountryInfo>,
}Expand description
国家配置
Fields§
§version: String配置版本
countries: Vec<CountryInfo>国家信息列表
Trait Implementations§
Source§impl Clone for CountriesConfig
impl Clone for CountriesConfig
Source§fn clone(&self) -> CountriesConfig
fn clone(&self) -> CountriesConfig
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 CountriesConfig
impl Debug for CountriesConfig
Source§impl<'de> Deserialize<'de> for CountriesConfig
impl<'de> Deserialize<'de> for CountriesConfig
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 Freeze for CountriesConfig
impl RefUnwindSafe for CountriesConfig
impl Send for CountriesConfig
impl Sync for CountriesConfig
impl Unpin for CountriesConfig
impl UnwindSafe for CountriesConfig
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