Enum gusto_api::types::CompanyStatus
source · pub enum CompanyStatus {
Approved,
NotApproved,
Suspended,
Noop,
FallthroughString,
}
Expand description
The status of the company in Gusto. “Approved” companies may run payroll with Gusto. “Not Approved” companies may not yet run payroll with Gusto. In order to run payroll, the company may need to complete onboarding or contact support. “Suspended” companies may not run payroll with Gusto. In order to unsuspend their account, the company must contact support.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CompanyStatus
impl Clone for CompanyStatus
source§fn clone(&self) -> CompanyStatus
fn clone(&self) -> CompanyStatus
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 CompanyStatus
impl Debug for CompanyStatus
source§impl Default for CompanyStatus
impl Default for CompanyStatus
source§fn default() -> CompanyStatus
fn default() -> CompanyStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompanyStatus
impl<'de> Deserialize<'de> for CompanyStatus
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 Display for CompanyStatus
impl Display for CompanyStatus
source§impl JsonSchema for CompanyStatus
impl JsonSchema for CompanyStatus
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<CompanyStatus> for CompanyStatus
impl PartialEq<CompanyStatus> for CompanyStatus
source§fn eq(&self, other: &CompanyStatus) -> bool
fn eq(&self, other: &CompanyStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CompanyStatus
impl Serialize for CompanyStatus
impl StructuralPartialEq for CompanyStatus
Auto Trait Implementations§
impl RefUnwindSafe for CompanyStatus
impl Send for CompanyStatus
impl Sync for CompanyStatus
impl Unpin for CompanyStatus
impl UnwindSafe for CompanyStatus
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