pub struct TaskEventBuilder { /* private fields */ }
Expand description
Builder for TaskEvent
.
Implementations§
Source§impl TaskEventBuilder
impl TaskEventBuilder
pub fn message(&mut self, value: String) -> &mut Self
Sourcepub fn fails_task(&mut self, value: bool) -> &mut Self
pub fn fails_task(&mut self, value: bool) -> &mut Self
DEPRECATION NOTICE: The following fields are all deprecated. see TaskEvent struct in structs.go for details.
pub fn setup_error(&mut self, value: String) -> &mut Self
pub fn driver_error(&mut self, value: String) -> &mut Self
pub fn kill_reason(&mut self, value: String) -> &mut Self
pub fn failed_sibling(&mut self, value: String) -> &mut Self
pub fn display_message(&mut self, value: String) -> &mut Self
pub fn details(&mut self, value: HashMap<String, String>) -> &mut Self
pub fn disk_size(&mut self, value: i64) -> &mut Self
pub fn vault_error(&mut self, value: String) -> &mut Self
pub fn generic_source(&mut self, value: String) -> &mut Self
pub fn type(&mut self, value: String) -> &mut Self
pub fn kill_error(&mut self, value: String) -> &mut Self
pub fn driver_message(&mut self, value: String) -> &mut Self
pub fn exit_code(&mut self, value: i64) -> &mut Self
pub fn signal(&mut self, value: i64) -> &mut Self
pub fn start_delay(&mut self, value: i64) -> &mut Self
pub fn download_error(&mut self, value: String) -> &mut Self
pub fn disk_limit(&mut self, value: i64) -> &mut Self
pub fn time(&mut self, value: i64) -> &mut Self
pub fn restart_reason(&mut self, value: String) -> &mut Self
pub fn task_signal(&mut self, value: String) -> &mut Self
pub fn task_signal_reason(&mut self, value: String) -> &mut Self
pub fn kill_timeout(&mut self, value: TimeDelta) -> &mut Self
pub fn validation_error(&mut self, value: String) -> &mut Self
Trait Implementations§
Source§impl Clone for TaskEventBuilder
impl Clone for TaskEventBuilder
Source§fn clone(&self) -> TaskEventBuilder
fn clone(&self) -> TaskEventBuilder
Returns a copy 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 TaskEventBuilder
impl RefUnwindSafe for TaskEventBuilder
impl Send for TaskEventBuilder
impl Sync for TaskEventBuilder
impl Unpin for TaskEventBuilder
impl UnwindSafe for TaskEventBuilder
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