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§
Source§impl Clone for ContractorPayment
impl Clone for ContractorPayment
Source§fn clone(&self) -> ContractorPayment
fn clone(&self) -> ContractorPayment
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 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 schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 for ContractorPayment
impl PartialEq for ContractorPayment
Source§impl Serialize for ContractorPayment
impl Serialize for ContractorPayment
impl StructuralPartialEq for ContractorPayment
Auto Trait Implementations§
impl Freeze for ContractorPayment
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