Struct gusto_api::types::PaySchedule
source · pub struct PaySchedule {
pub anchor_pay_date: Option<NaiveDate>,
pub auto_pilot: bool,
pub day_1: i64,
pub day_2: i64,
pub frequency: Option<Frequency>,
pub id: i64,
pub name: String,
pub uuid: String,
}Expand description
The representation of a pay schedule.
Fields
anchor_pay_date: Option<NaiveDate>auto_pilot: boolThe representation of a pay schedule.
day_1: i64The representation of a pay schedule.
day_2: i64The representation of a pay schedule.
frequency: Option<Frequency>The representation of a pay schedule.
id: i64The representation of a pay schedule.
name: StringThe representation of a pay schedule.
uuid: StringThe representation of a pay schedule.
Trait Implementations
sourceimpl Clone for PaySchedule
impl Clone for PaySchedule
sourcefn clone(&self) -> PaySchedule
fn clone(&self) -> PaySchedule
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 PaySchedule
impl Debug for PaySchedule
sourceimpl<'de> Deserialize<'de> for PaySchedule
impl<'de> Deserialize<'de> for PaySchedule
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 PaySchedule
impl JsonSchema for PaySchedule
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<PaySchedule> for PaySchedule
impl PartialEq<PaySchedule> for PaySchedule
sourcefn eq(&self, other: &PaySchedule) -> bool
fn eq(&self, other: &PaySchedule) -> bool
sourceimpl Serialize for PaySchedule
impl Serialize for PaySchedule
impl StructuralPartialEq for PaySchedule
Auto Trait Implementations
impl RefUnwindSafe for PaySchedule
impl Send for PaySchedule
impl Sync for PaySchedule
impl Unpin for PaySchedule
impl UnwindSafe for PaySchedule
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