Struct gusto_api::types::TimeOffRequest [−][src]
pub struct TimeOffRequest { pub approver: Option<Approver>, pub days: Option<Days>, pub employee: Option<TimeOffRequestEmployee>, pub employee_note: String, pub employer_note: String, pub id: i64, pub initiator: Option<Initiator>, pub request_type: Option<RequestType>, pub status: Option<TimeOffRequestStatus>, }
Expand description
The representation of a time off request.
Fields
approver: Option<Approver>
This value will be null if the request has not been approved.
days: Option<Days>
The representation of a time off request.
employee: Option<TimeOffRequestEmployee>
The representation of a time off request.
employee_note: String
The representation of a time off request.
employer_note: String
The representation of a time off request.
id: i64
The representation of a time off request.
initiator: Option<Initiator>
request_type: Option<RequestType>
The representation of a time off request.
status: Option<TimeOffRequestStatus>
The representation of a time off request.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for TimeOffRequest
impl Send for TimeOffRequest
impl Sync for TimeOffRequest
impl Unpin for TimeOffRequest
impl UnwindSafe for TimeOffRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more