Struct json_resume::Location
source · pub struct Location {
pub address: Option<String>,
pub postal_code: Option<String>,
pub city: Option<String>,
pub country_code: Option<String>,
pub region: Option<String>,
}
Fields§
§address: Option<String>
To add multiple address lines, use \n. For example, 1234 Glücklichkeit Straße\nHinterhaus 5. Etage li.
postal_code: Option<String>
§city: Option<String>
§country_code: Option<String>
code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN
region: Option<String>
The general region where you live. Can be a US state, or a province, for instance.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Locationwhere
Location: Default,
impl<'de> Deserialize<'de> for Locationwhere Location: Default,
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 Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations§
source§impl<T> FromJsonReader for Twhere
T: DeserializeOwned + Validate,
impl<T> FromJsonReader for Twhere T: DeserializeOwned + Validate,
source§impl<'de, T> FromJsonSlice<'de> for Twhere
T: Deserialize<'de> + Validate,
impl<'de, T> FromJsonSlice<'de> for Twhere T: Deserialize<'de> + Validate,
source§impl<'de, T> FromJsonStr<'de> for Twhere
T: Deserialize<'de> + Validate,
impl<'de, T> FromJsonStr<'de> for Twhere T: Deserialize<'de> + Validate,
source§impl<T> FromJsonValue for Twhere
T: DeserializeOwned + Validate,
impl<T> FromJsonValue for Twhere T: DeserializeOwned + Validate,
source§fn from_json_value(value: Value) -> Result<T, Error<Error>>
fn from_json_value(value: Value) -> Result<T, Error<Error>>
Convert from
serde_json::Value
. Read more