pub struct DelegationResult {
pub status: DelegationResultStatus,
pub produced_artifacts: Vec<ArtifactId>,
pub produced_notes: Vec<NoteId>,
pub summary: String,
pub error: Option<String>,
}Expand description
Result of a completed delegation.
Fields§
§status: DelegationResultStatusStatus of the result
produced_artifacts: Vec<ArtifactId>Artifacts produced by the task
produced_notes: Vec<NoteId>Notes produced by the task
summary: StringSummary of what was accomplished
error: Option<String>Error message (if failed)
Implementations§
Trait Implementations§
Source§impl Clone for DelegationResult
impl Clone for DelegationResult
Source§fn clone(&self) -> DelegationResult
fn clone(&self) -> DelegationResult
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 ComposeSchema for DelegationResult
impl ComposeSchema for DelegationResult
Source§impl Debug for DelegationResult
impl Debug for DelegationResult
Source§impl<'de> Deserialize<'de> for DelegationResult
impl<'de> Deserialize<'de> for DelegationResult
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 DelegationResult
impl PartialEq for DelegationResult
Source§impl Serialize for DelegationResult
impl Serialize for DelegationResult
Source§impl ToSchema for DelegationResult
impl ToSchema for DelegationResult
impl StructuralPartialEq for DelegationResult
Auto Trait Implementations§
impl Freeze for DelegationResult
impl RefUnwindSafe for DelegationResult
impl Send for DelegationResult
impl Sync for DelegationResult
impl Unpin for DelegationResult
impl UnwindSafe for DelegationResult
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