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: bool
The representation of a termination in Gusto.
effective_date: Option<NaiveDate>
§employee_id: i64
The representation of a termination in Gusto.
id: i64
The representation of a termination in Gusto.
run_termination_payroll: bool
The representation of a termination in Gusto.
version: String
The representation of a termination in Gusto.
Trait Implementations§
source§impl Clone for Termination
impl Clone for Termination
source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
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 Termination
impl Debug for Termination
source§impl<'de> Deserialize<'de> for Termination
impl<'de> Deserialize<'de> for Termination
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 Termination
impl JsonSchema for Termination
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<Termination> for Termination
impl PartialEq<Termination> for Termination
source§fn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
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