pub struct OperationSpec {
pub id: OperationId,
pub kind: WorkKind,
pub result_shape: ResultShape,
pub policy: OperationPolicy,
pub budget_reservation: BudgetLimits,
pub depth: u32,
pub depends_on: Vec<OperationId>,
pub context: Option<ContextStrategy>,
pub tool_access: Option<ToolAccessPolicy>,
}Expand description
Complete operation specification
Fields§
§id: OperationId§kind: WorkKind§result_shape: ResultShape§policy: OperationPolicy§budget_reservation: BudgetLimits§depth: u32§depends_on: Vec<OperationId>§context: Option<ContextStrategy>§tool_access: Option<ToolAccessPolicy>Trait Implementations§
Source§impl Clone for OperationSpec
impl Clone for OperationSpec
Source§fn clone(&self) -> OperationSpec
fn clone(&self) -> OperationSpec
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 OperationSpec
impl Debug for OperationSpec
Source§impl<'de> Deserialize<'de> for OperationSpec
impl<'de> Deserialize<'de> for OperationSpec
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
Auto Trait Implementations§
impl Freeze for OperationSpec
impl RefUnwindSafe for OperationSpec
impl Send for OperationSpec
impl Sync for OperationSpec
impl Unpin for OperationSpec
impl UnsafeUnpin for OperationSpec
impl UnwindSafe for OperationSpec
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