pub struct WageSetting {
pub team_member_id: Option<String>,
pub job_assignments: Vec<JobAssignment>,
pub is_overtime_exempt: Option<bool>,
pub version: Option<i32>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
An object representing a team member’s wage information.
Fields§
§team_member_id: Option<String>
The unique ID of the TeamMember
whom this wage setting describes.
job_assignments: Vec<JobAssignment>
Required. The ordered list of jobs that the team member is assigned to. The first job assignment is considered the team member’s primary job.
The minimum length is 1 and the maximum length is 12.
is_overtime_exempt: Option<bool>
Whether the team member is exempt from the overtime rules of the seller’s country.
version: Option<i32>
Used for resolving concurrency issues. The request fails if the version provided does not match the server version at the time of the request. If not provided, Square executes a blind write, potentially overwriting data from another write. For more information, see optimistic concurrency.
created_at: Option<DateTime>
Read only The timestamp, in RFC 3339 format, describing when the wage setting object was created.
updated_at: Option<DateTime>
Read only The timestamp, in RFC 3339 format, describing when the wage setting object was last updated.
Trait Implementations§
Source§impl Clone for WageSetting
impl Clone for WageSetting
Source§fn clone(&self) -> WageSetting
fn clone(&self) -> WageSetting
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WageSetting
impl Debug for WageSetting
Source§impl Default for WageSetting
impl Default for WageSetting
Source§fn default() -> WageSetting
fn default() -> WageSetting
Source§impl<'de> Deserialize<'de> for WageSetting
impl<'de> Deserialize<'de> for WageSetting
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>,
Source§impl PartialEq for WageSetting
impl PartialEq for WageSetting
Source§impl Serialize for WageSetting
impl Serialize for WageSetting
impl Eq for WageSetting
impl StructuralPartialEq for WageSetting
Auto Trait Implementations§
impl Freeze for WageSetting
impl RefUnwindSafe for WageSetting
impl Send for WageSetting
impl Sync for WageSetting
impl Unpin for WageSetting
impl UnwindSafe for WageSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.