squareup/models/
update_job_request.rs

1//! Model struct for UpdateJobRequest type
2
3use super::Job;
4use serde::Serialize;
5
6/// This is a model struct for UpdateJobRequest type
7#[derive(Clone, Debug, Serialize, Eq, PartialEq)]
8pub struct UpdateJobRequest {
9    /// The job with the updated fields.
10    /// Only changed fields need to be included in the request.
11    /// Optionally include `version` to enable optimistic concurrency control.
12    pub job: Job,
13}