pub struct TaskResultV1 {
pub by: TaskActorV1,
pub at: UtcTimestamp,
pub proposal: u64,
pub seq: Option<u64>,
pub summary: Option<String>,
pub evidence: Vec<EvidenceViewV1>,
pub usage: Option<UsageV1>,
}Expand description
The submitted result, as a task view shows it.
Fields§
§by: TaskActorV1§at: UtcTimestamp§proposal: u64The proposal that carries it; 0 when there is none (Hive v5: the result completed the task directly).
seq: Option<u64>Hive v5: the log seq of the result’s appended knowledge.
summary: Option<String>§evidence: Vec<EvidenceViewV1>§usage: Option<UsageV1>Trait Implementations§
Source§impl Clone for TaskResultV1
impl Clone for TaskResultV1
Source§impl Debug for TaskResultV1
impl Debug for TaskResultV1
Source§impl<'de> Deserialize<'de> for TaskResultV1
impl<'de> Deserialize<'de> for TaskResultV1
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
impl Eq for TaskResultV1
Source§impl PartialEq for TaskResultV1
impl PartialEq for TaskResultV1
Source§impl Serialize for TaskResultV1
impl Serialize for TaskResultV1
impl StructuralPartialEq for TaskResultV1
Auto Trait Implementations§
impl Freeze for TaskResultV1
impl RefUnwindSafe for TaskResultV1
impl Send for TaskResultV1
impl Sync for TaskResultV1
impl Unpin for TaskResultV1
impl UnsafeUnpin for TaskResultV1
impl UnwindSafe for TaskResultV1
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