pub struct Company {Show 13 fields
pub company_status: Option<CompanyStatus>,
pub compensations: Option<Compensations>,
pub ein: String,
pub entity_type: Option<EntityType>,
pub id: f64,
pub is_suspended: bool,
pub locations: Vec<Location>,
pub name: String,
pub primary_payroll_admin: Option<PrimaryPayrollAdmin>,
pub primary_signatory: Option<PrimarySignatory>,
pub tier: Option<Tier>,
pub trade_name: String,
pub uuid: String,
}
Expand description
The representation of a company in Gusto.
Fields§
§company_status: Option<CompanyStatus>
The representation of a company in Gusto.
compensations: Option<Compensations>
The representation of a company in Gusto.
ein: String
The representation of a company in Gusto.
entity_type: Option<EntityType>
The representation of a company in Gusto.
id: f64
The representation of a company in Gusto.
is_suspended: bool
The representation of a company in Gusto.
locations: Vec<Location>
The representation of a company in Gusto.
name: String
The representation of a company in Gusto.
primary_payroll_admin: Option<PrimaryPayrollAdmin>
The representation of a company in Gusto.
primary_signatory: Option<PrimarySignatory>
The representation of a company in Gusto.
tier: Option<Tier>
The Gusto product tier of the company.
trade_name: String
The representation of a company in Gusto.
uuid: String
The representation of a company in Gusto.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Company
impl<'de> Deserialize<'de> for Company
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 Company
impl JsonSchema for Company
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<Company> for Company
impl PartialEq<Company> for Company
impl StructuralPartialEq for Company
Auto Trait Implementations§
impl RefUnwindSafe for Company
impl Send for Company
impl Sync for Company
impl Unpin for Company
impl UnwindSafe for Company
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