pub struct TaskUpdated {
pub id: GlobalId,
pub task: Task,
pub written: BTreeSet<UpdatedField>,
pub delivered: Vec<Delivered>,
pub spent: Option<Spent>,
}Expand description
What task update answers with.
Fields§
§id: GlobalIdThe task updated.
task: TaskThe task as its source reads it back, with every entry of its delivers and
delivered_by qualified.
written: BTreeSet<UpdatedField>The fields the source actually wrote — empty when nothing differed.
delivered: Vec<Delivered>As set_task_status reports it; re-evaluated whenever status or delivers was
named, empty otherwise.
spent: Option<Spent>What the source’s meter says this call spent, as CopyReport::spent — and absent,
never zero, when the source does not meter its own requests.
Trait Implementations§
Source§impl Clone for TaskUpdated
impl Clone for TaskUpdated
Source§impl Debug for TaskUpdated
impl Debug for TaskUpdated
Source§impl<'de> Deserialize<'de> for TaskUpdated
impl<'de> Deserialize<'de> for TaskUpdated
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 JsonSchema for TaskUpdated
impl JsonSchema for TaskUpdated
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for TaskUpdated
impl PartialEq for TaskUpdated
Source§impl Serialize for TaskUpdated
impl Serialize for TaskUpdated
impl StructuralPartialEq for TaskUpdated
Auto Trait Implementations§
impl Freeze for TaskUpdated
impl RefUnwindSafe for TaskUpdated
impl Send for TaskUpdated
impl Sync for TaskUpdated
impl Unpin for TaskUpdated
impl UnsafeUnpin for TaskUpdated
impl UnwindSafe for TaskUpdated
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