Struct gusto_api::types::ContractorPayment
source · pub struct ContractorPayment {
pub bonus: String,
pub contractor_id: f64,
pub date: String,
pub hourly_rate: String,
pub hours: String,
pub payment_method: Option<PaymentMethod>,
pub reimbursement: String,
pub uuid: String,
pub wage: String,
pub wage_total: String,
pub wage_type: Option<WageType>,
}
Expand description
The representation of a single contractor payment.
Fields§
§bonus: String
The representation of a single contractor payment.
contractor_id: f64
The representation of a single contractor payment.
date: String
The representation of a single contractor payment.
hourly_rate: String
The representation of a single contractor payment.
hours: String
The representation of a single contractor payment.
payment_method: Option<PaymentMethod>
The representation of a single contractor payment.
reimbursement: String
The representation of a single contractor payment.
uuid: String
The representation of a single contractor payment.
wage: String
The representation of a single contractor payment.
wage_total: String
The representation of a single contractor payment.
wage_type: Option<WageType>
The representation of a single contractor payment.
Trait Implementations§
source§impl Clone for ContractorPayment
impl Clone for ContractorPayment
source§fn clone(&self) -> ContractorPayment
fn clone(&self) -> ContractorPayment
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 ContractorPayment
impl Debug for ContractorPayment
source§impl<'de> Deserialize<'de> for ContractorPayment
impl<'de> Deserialize<'de> for ContractorPayment
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 JsonSchema for ContractorPayment
impl JsonSchema for ContractorPayment
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn 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 moresource§impl PartialEq<ContractorPayment> for ContractorPayment
impl PartialEq<ContractorPayment> for ContractorPayment
source§fn eq(&self, other: &ContractorPayment) -> bool
fn eq(&self, other: &ContractorPayment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContractorPayment
impl Serialize for ContractorPayment
impl StructuralPartialEq for ContractorPayment
Auto Trait Implementations§
impl RefUnwindSafe for ContractorPayment
impl Send for ContractorPayment
impl Sync for ContractorPayment
impl Unpin for ContractorPayment
impl UnwindSafe for ContractorPayment
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