Struct google_jobs3::api::CompensationRange
source · pub struct CompensationRange {
pub max_compensation: Option<Money>,
pub min_compensation: Option<Money>,
}
Expand description
Compensation range.
This type is not used in any activity, and only used as part of another schema.
Fields§
§max_compensation: Option<Money>
Optional. The maximum amount of compensation. If left empty, the value is set to a maximal compensation value and the currency code is set to match the currency code of min_compensation.
min_compensation: Option<Money>
Optional. The minimum amount of compensation. If left empty, the value is set to zero and the currency code is set to match the currency code of max_compensation.
Trait Implementations§
source§impl Clone for CompensationRange
impl Clone for CompensationRange
source§fn clone(&self) -> CompensationRange
fn clone(&self) -> CompensationRange
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 CompensationRange
impl Debug for CompensationRange
source§impl Default for CompensationRange
impl Default for CompensationRange
source§fn default() -> CompensationRange
fn default() -> CompensationRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompensationRange
impl<'de> Deserialize<'de> for CompensationRange
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 Serialize for CompensationRange
impl Serialize for CompensationRange
impl Part for CompensationRange
Auto Trait Implementations§
impl RefUnwindSafe for CompensationRange
impl Send for CompensationRange
impl Sync for CompensationRange
impl Unpin for CompensationRange
impl UnwindSafe for CompensationRange
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