#[non_exhaustive]pub struct TaskEventPayload {Show 14 fields
pub seq: Integer,
pub task_id: String,
pub inbox: String,
pub event: String,
pub from_status: String,
pub to_status: String,
pub actor: String,
pub agent: String,
pub fence: Integer,
pub version: Integer,
pub reason: String,
pub patch: HashMap<String, Value>,
pub note: String,
pub ts: String,
}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.seq: Integer§task_id: String§inbox: String§event: String§from_status: String§to_status: String§actor: String§agent: String§fence: Integer§version: Integer§reason: String§patch: HashMap<String, Value>§note: String§ts: StringTrait Implementations§
Source§impl Clone for TaskEventPayload
impl Clone for TaskEventPayload
Source§impl Debug for TaskEventPayload
impl Debug for TaskEventPayload
Source§impl<'de> Deserialize<'de> for TaskEventPayload
impl<'de> Deserialize<'de> for TaskEventPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TaskEventPayload
impl PartialEq for TaskEventPayload
Source§impl Serialize for TaskEventPayload
impl Serialize for TaskEventPayload
impl StructuralPartialEq for TaskEventPayload
Auto Trait Implementations§
impl Forget for TaskEventPayload
impl Freeze for TaskEventPayload
impl Move for TaskEventPayload
impl RefUnwindSafe for TaskEventPayload
impl Send for TaskEventPayload
impl Sync for TaskEventPayload
impl Unpin for TaskEventPayload
impl UnsafeUnpin for TaskEventPayload
impl UnwindSafe for TaskEventPayload
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