opsd 0.2.0

Rust client library for the Opsd API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use time::OffsetDateTime;

use crate::types::{EmployeeId, EmploymentId, PayeSchemeId};

/// Payroll relationship between an employee and a PAYE scheme.
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Employment {
    pub id: EmploymentId,
    pub employee_id: EmployeeId,
    pub paye_scheme_id: PayeSchemeId,
    pub created_at: OffsetDateTime,
}