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: StringThe representation of a single contractor payment.
contractor_id: f64The representation of a single contractor payment.
date: StringThe representation of a single contractor payment.
hourly_rate: StringThe representation of a single contractor payment.
hours: StringThe representation of a single contractor payment.
payment_method: Option<PaymentMethod>The representation of a single contractor payment.
reimbursement: StringThe representation of a single contractor payment.
uuid: StringThe representation of a single contractor payment.
wage: StringThe representation of a single contractor payment.
wage_total: StringThe representation of a single contractor payment.
wage_type: Option<WageType>The representation of a single contractor payment.
Trait Implementations
sourceimpl Clone for ContractorPayment
impl Clone for ContractorPayment
sourcefn clone(&self) -> ContractorPayment
fn clone(&self) -> ContractorPayment
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 ContractorPayment
impl Debug for ContractorPayment
sourceimpl<'de> Deserialize<'de> for ContractorPayment
impl<'de> Deserialize<'de> for ContractorPayment
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 ContractorPayment
impl JsonSchema for ContractorPayment
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<ContractorPayment> for ContractorPayment
impl PartialEq<ContractorPayment> for ContractorPayment
sourcefn eq(&self, other: &ContractorPayment) -> bool
fn eq(&self, other: &ContractorPayment) -> bool
sourceimpl 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
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