Struct gusto_api::types::PutCompensationRequest
source · pub struct PutCompensationRequest {
pub flsa_status: Option<FlsaStatus>,
pub payment_unit: Option<PaymentUnit>,
pub rate: String,
pub version: String,
}Expand description
Fields
flsa_status: Option<FlsaStatus>payment_unit: Option<PaymentUnit>rate: Stringversion: StringA unique identifier of the employee in Gusto.
Trait Implementations
sourceimpl Clone for PutCompensationRequest
impl Clone for PutCompensationRequest
sourcefn clone(&self) -> PutCompensationRequest
fn clone(&self) -> PutCompensationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PutCompensationRequest
impl Debug for PutCompensationRequest
sourceimpl<'de> Deserialize<'de> for PutCompensationRequest
impl<'de> Deserialize<'de> for PutCompensationRequest
sourcefn 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
sourceimpl JsonSchema for PutCompensationRequest
impl JsonSchema for PutCompensationRequest
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl PartialEq<PutCompensationRequest> for PutCompensationRequest
impl PartialEq<PutCompensationRequest> for PutCompensationRequest
sourcefn eq(&self, other: &PutCompensationRequest) -> bool
fn eq(&self, other: &PutCompensationRequest) -> bool
sourceimpl Serialize for PutCompensationRequest
impl Serialize for PutCompensationRequest
impl StructuralPartialEq for PutCompensationRequest
Auto Trait Implementations
impl RefUnwindSafe for PutCompensationRequest
impl Send for PutCompensationRequest
impl Sync for PutCompensationRequest
impl Unpin for PutCompensationRequest
impl UnwindSafe for PutCompensationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more