pub struct PauseJobParams {
pub job_id: String,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [pause_job
]
Fields§
§job_id: String
The requested job id
idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl PauseJobParams
impl PauseJobParams
Sourcepub fn builder() -> PauseJobParamsBuilder
pub fn builder() -> PauseJobParamsBuilder
Create an instance of PauseJobParams
using the builder syntax
Trait Implementations§
Source§impl Clone for PauseJobParams
impl Clone for PauseJobParams
Source§fn clone(&self) -> PauseJobParams
fn clone(&self) -> PauseJobParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PauseJobParams
impl RefUnwindSafe for PauseJobParams
impl Send for PauseJobParams
impl Sync for PauseJobParams
impl Unpin for PauseJobParams
impl UnwindSafe for PauseJobParams
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
Mutably borrows from an owned value. Read more