pub struct Update<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Update<'a>
impl<'a> Update<'a>
pub fn new(job_id: &'a str, status: JobStatus) -> Self
pub fn client_token(self, client_token: &'a str) -> Self
pub fn status_details(self, status_details: &'a StatusDetailsOwned) -> Self
pub fn include_job_document(self) -> Self
pub fn include_job_execution_state(self) -> Self
pub fn execution_number(self, execution_number: i64) -> Self
pub fn expected_version(self, expected_version: i64) -> Self
pub fn step_timeout_in_minutes(self, step_timeout_in_minutes: i64) -> Self
pub fn topic_payload(
self,
client_id: &str
) -> Result<(String<{ _ }>, Vec<u8, 512>), JobError>
pub fn send<M: Mqtt>(self, mqtt: &M, qos: QoS) -> Result<(), JobError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Update<'a>
impl<'a> Send for Update<'a>
impl<'a> Sync for Update<'a>
impl<'a> Unpin for Update<'a>
impl<'a> UnwindSafe for Update<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more