#[non_exhaustive]pub struct TaskStatusEvent {
pub task_request_id: i32,
pub task_request_uri: String,
pub status_changes: Vec<TaskStatus>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.task_request_id: i32§task_request_uri: String§status_changes: Vec<TaskStatus>Implementations§
Source§impl TaskStatusEvent
impl TaskStatusEvent
pub fn latest_status(&self) -> Option<&TaskStatus>
Trait Implementations§
Source§impl Clone for TaskStatusEvent
impl Clone for TaskStatusEvent
Source§fn clone(&self) -> TaskStatusEvent
fn clone(&self) -> TaskStatusEvent
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 moreSource§impl Debug for TaskStatusEvent
impl Debug for TaskStatusEvent
Source§impl PartialEq for TaskStatusEvent
impl PartialEq for TaskStatusEvent
impl Eq for TaskStatusEvent
impl StructuralPartialEq for TaskStatusEvent
Auto Trait Implementations§
impl Freeze for TaskStatusEvent
impl RefUnwindSafe for TaskStatusEvent
impl Send for TaskStatusEvent
impl Sync for TaskStatusEvent
impl Unpin for TaskStatusEvent
impl UnwindSafe for TaskStatusEvent
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