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
Approved
NotApproved
Suspended
Noop
FallthroughString
Implementations
sourceimpl CompanyStatus
impl CompanyStatus
Trait Implementations
sourceimpl Clone for CompanyStatus
impl Clone for CompanyStatus
sourcefn clone(&self) -> CompanyStatus
fn clone(&self) -> CompanyStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CompanyStatus
impl Debug for CompanyStatus
sourceimpl Default for CompanyStatus
impl Default for CompanyStatus
sourcefn default() -> CompanyStatus
fn default() -> CompanyStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CompanyStatus
impl<'de> Deserialize<'de> for CompanyStatus
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 Display for CompanyStatus
impl Display for CompanyStatus
sourceimpl JsonSchema for CompanyStatus
impl JsonSchema for CompanyStatus
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 moresourceimpl PartialEq<CompanyStatus> for CompanyStatus
impl PartialEq<CompanyStatus> for CompanyStatus
sourcefn eq(&self, other: &CompanyStatus) -> bool
fn eq(&self, other: &CompanyStatus) -> bool
sourceimpl 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
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