Struct gusto_api::types::CompanyBenefit
source · pub struct CompanyBenefit {
pub active: bool,
pub benefit_id: f64,
pub company_id: f64,
pub description: String,
pub id: f64,
pub responsible_for_employee_w_2: bool,
pub responsible_for_employer_taxes: bool,
pub supports_percentage_amounts: bool,
pub version: String,
}
Expand description
The representation of a company benefit.
Fields§
§active: bool
The representation of a company benefit.
benefit_id: f64
The representation of a company benefit.
company_id: f64
The representation of a company benefit.
description: String
The representation of a company benefit.
id: f64
The representation of a company benefit.
responsible_for_employee_w_2: bool
The representation of a company benefit.
responsible_for_employer_taxes: bool
The representation of a company benefit.
supports_percentage_amounts: bool
The representation of a company benefit.
version: String
The representation of a company benefit.
Trait Implementations§
source§impl Clone for CompanyBenefit
impl Clone for CompanyBenefit
source§fn clone(&self) -> CompanyBenefit
fn clone(&self) -> CompanyBenefit
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 CompanyBenefit
impl Debug for CompanyBenefit
source§impl<'de> Deserialize<'de> for CompanyBenefit
impl<'de> Deserialize<'de> for CompanyBenefit
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 CompanyBenefit
impl JsonSchema for CompanyBenefit
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<CompanyBenefit> for CompanyBenefit
impl PartialEq<CompanyBenefit> for CompanyBenefit
source§fn eq(&self, other: &CompanyBenefit) -> bool
fn eq(&self, other: &CompanyBenefit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CompanyBenefit
impl Serialize for CompanyBenefit
impl StructuralPartialEq for CompanyBenefit
Auto Trait Implementations§
impl RefUnwindSafe for CompanyBenefit
impl Send for CompanyBenefit
impl Sync for CompanyBenefit
impl Unpin for CompanyBenefit
impl UnwindSafe for CompanyBenefit
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