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: StringThe representation of a company in Gusto.
entity_type: Option<EntityType>The representation of a company in Gusto.
id: f64The representation of a company in Gusto.
is_suspended: boolThe representation of a company in Gusto.
locations: Vec<Location>The representation of a company in Gusto.
name: StringThe 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: StringThe representation of a company in Gusto.
uuid: StringThe representation of a company in Gusto.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Company
impl<'de> Deserialize<'de> for Company
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 Company
impl JsonSchema for Company
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 moreimpl 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
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