pub struct WorkflowCostEstimate {
pub min_child_agents: u32,
pub max_child_agents: u32,
pub estimated_prompt_tokens: Option<u64>,
pub estimated_completion_tokens: Option<u64>,
pub warning: Option<String>,
}Fields§
§min_child_agents: u32§max_child_agents: u32§estimated_prompt_tokens: Option<u64>§estimated_completion_tokens: Option<u64>§warning: Option<String>Trait Implementations§
Source§impl Clone for WorkflowCostEstimate
impl Clone for WorkflowCostEstimate
Source§fn clone(&self) -> WorkflowCostEstimate
fn clone(&self) -> WorkflowCostEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkflowCostEstimate
impl Debug for WorkflowCostEstimate
Source§impl<'de> Deserialize<'de> for WorkflowCostEstimate
impl<'de> Deserialize<'de> for WorkflowCostEstimate
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 WorkflowCostEstimate
impl PartialEq for WorkflowCostEstimate
Source§fn eq(&self, other: &WorkflowCostEstimate) -> bool
fn eq(&self, other: &WorkflowCostEstimate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowCostEstimate
impl Serialize for WorkflowCostEstimate
impl StructuralPartialEq for WorkflowCostEstimate
Auto Trait Implementations§
impl Freeze for WorkflowCostEstimate
impl RefUnwindSafe for WorkflowCostEstimate
impl Send for WorkflowCostEstimate
impl Sync for WorkflowCostEstimate
impl Unpin for WorkflowCostEstimate
impl UnsafeUnpin for WorkflowCostEstimate
impl UnwindSafe for WorkflowCostEstimate
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