pub struct OutputEvent {
pub step_update: Option<StepUpdate>,
pub trajectory_state_update: Option<TrajectoryStateUpdate>,
pub tool_call: Option<ToolCall>,
pub initialize_conversation_response: Option<InitializeConversationResponse>,
pub call_hook_request: Option<CallHookRequest>,
pub session_end_response: Option<bool>,
pub policy_decision_request: Option<PolicyDecisionRequest>,
pub usage_update: Option<UsageUpdate>,
pub seq_num: Option<i64>,
pub timestamp_micros: Option<i64>,
}Expand description
antigravity.localharness.OutputEvent
Fields§
§step_update: Option<StepUpdate>§trajectory_state_update: Option<TrajectoryStateUpdate>§tool_call: Option<ToolCall>§initialize_conversation_response: Option<InitializeConversationResponse>§call_hook_request: Option<CallHookRequest>§session_end_response: Option<bool>§policy_decision_request: Option<PolicyDecisionRequest>§usage_update: Option<UsageUpdate>§seq_num: Option<i64>§timestamp_micros: Option<i64>Implementations§
Source§impl OutputEvent
impl OutputEvent
Source§impl OutputEvent
impl OutputEvent
Sourcepub fn into_event(self) -> Option<OutputEventEvent>
pub fn into_event(self) -> Option<OutputEventEvent>
Takes the set arm of the event oneof, if any.
Trait Implementations§
Source§impl Clone for OutputEvent
impl Clone for OutputEvent
Source§fn clone(&self) -> OutputEvent
fn clone(&self) -> OutputEvent
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 OutputEvent
impl Debug for OutputEvent
Source§impl Default for OutputEvent
impl Default for OutputEvent
Source§fn default() -> OutputEvent
fn default() -> OutputEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputEvent
impl<'de> Deserialize<'de> for OutputEvent
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 OutputEvent
impl PartialEq for OutputEvent
Source§impl Serialize for OutputEvent
impl Serialize for OutputEvent
impl StructuralPartialEq for OutputEvent
Auto Trait Implementations§
impl Freeze for OutputEvent
impl RefUnwindSafe for OutputEvent
impl Send for OutputEvent
impl Sync for OutputEvent
impl Unpin for OutputEvent
impl UnsafeUnpin for OutputEvent
impl UnwindSafe for OutputEvent
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