pub struct ModelProposalOutput {
pub telemetry: TelemetryResult,
pub capability_request: Option<CapabilityRequest>,
}Expand description
Wraps the model’s full propose-stage output. The telemetry fields are at the top level (flattened) so existing model responses without capability_request still parse unchanged.
Fields§
§telemetry: TelemetryResult§capability_request: Option<CapabilityRequest>Trait Implementations§
Source§impl Clone for ModelProposalOutput
impl Clone for ModelProposalOutput
Source§fn clone(&self) -> ModelProposalOutput
fn clone(&self) -> ModelProposalOutput
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 ModelProposalOutput
impl Debug for ModelProposalOutput
Source§impl<'de> Deserialize<'de> for ModelProposalOutput
impl<'de> Deserialize<'de> for ModelProposalOutput
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 ModelProposalOutput
impl RefUnwindSafe for ModelProposalOutput
impl Send for ModelProposalOutput
impl Sync for ModelProposalOutput
impl Unpin for ModelProposalOutput
impl UnsafeUnpin for ModelProposalOutput
impl UnwindSafe for ModelProposalOutput
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