Struct gusto_api::types::Termination
source · pub struct Termination {
pub active: bool,
pub effective_date: Option<NaiveDate>,
pub employee_id: i64,
pub id: i64,
pub run_termination_payroll: bool,
pub version: String,
}Expand description
The representation of a termination in Gusto.
Fields
active: boolThe representation of a termination in Gusto.
effective_date: Option<NaiveDate>employee_id: i64The representation of a termination in Gusto.
id: i64The representation of a termination in Gusto.
run_termination_payroll: boolThe representation of a termination in Gusto.
version: StringThe representation of a termination in Gusto.
Trait Implementations
sourceimpl Clone for Termination
impl Clone for Termination
sourcefn clone(&self) -> Termination
fn clone(&self) -> Termination
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 Termination
impl Debug for Termination
sourceimpl<'de> Deserialize<'de> for Termination
impl<'de> Deserialize<'de> for Termination
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 Termination
impl JsonSchema for Termination
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<Termination> for Termination
impl PartialEq<Termination> for Termination
sourcefn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
sourceimpl Serialize for Termination
impl Serialize for Termination
impl StructuralPartialEq for Termination
Auto Trait Implementations
impl RefUnwindSafe for Termination
impl Send for Termination
impl Sync for Termination
impl Unpin for Termination
impl UnwindSafe for Termination
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