pub struct JobLocation {
pub country: Option<Option<String>>,
pub region: Option<Option<String>>,
pub city: Option<Option<String>>,
pub postal_code: Option<Option<String>>,
pub latitude: Option<Option<f32>>,
pub longitude: Option<Option<f32>>,
pub street: Option<Option<String>>,
}Fields§
§country: Option<Option<String>>Full country name.
region: Option<Option<String>>Region.
city: Option<Option<String>>The city for the job.
postal_code: Option<Option<String>>Postal code of the business location for the job.
latitude: Option<Option<f32>>Latitude coordinates of the business location for the job.
longitude: Option<Option<f32>>Longitude coordinates of the business location for the job.
street: Option<Option<String>>Street address of the business location for the job.
Implementations§
Source§impl JobLocation
impl JobLocation
pub fn new() -> JobLocation
Trait Implementations§
Source§impl Clone for JobLocation
impl Clone for JobLocation
Source§fn clone(&self) -> JobLocation
fn clone(&self) -> JobLocation
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 JobLocation
impl Debug for JobLocation
Source§impl Default for JobLocation
impl Default for JobLocation
Source§fn default() -> JobLocation
fn default() -> JobLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobLocation
impl<'de> Deserialize<'de> for JobLocation
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 JobLocation
impl PartialEq for JobLocation
Source§impl Serialize for JobLocation
impl Serialize for JobLocation
impl StructuralPartialEq for JobLocation
Auto Trait Implementations§
impl Freeze for JobLocation
impl RefUnwindSafe for JobLocation
impl Send for JobLocation
impl Sync for JobLocation
impl Unpin for JobLocation
impl UnwindSafe for JobLocation
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