pub struct ResponseCodeInterpreterCallCodeWsDelta {
pub event: ResponseCodeInterpreterCallCodeDeltaEvent,
pub stream_id: Option<String>,
}Expand description
Emitted when a partial code snippet is streamed by the code interpreter.
Fields§
§event: ResponseCodeInterpreterCallCodeDeltaEvent§stream_id: Option<String>The WebSocket lane that emitted this event. This field is present when the originating
response.create event supplied a stream_id.
Trait Implementations§
Source§impl Clone for ResponseCodeInterpreterCallCodeWsDelta
impl Clone for ResponseCodeInterpreterCallCodeWsDelta
Source§fn clone(&self) -> ResponseCodeInterpreterCallCodeWsDelta
fn clone(&self) -> ResponseCodeInterpreterCallCodeWsDelta
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<'de> Deserialize<'de> for ResponseCodeInterpreterCallCodeWsDelta
impl<'de> Deserialize<'de> for ResponseCodeInterpreterCallCodeWsDelta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseCodeInterpreterCallCodeWsDelta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseCodeInterpreterCallCodeWsDelta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ResponseCodeInterpreterCallCodeWsDelta
impl Serialize for ResponseCodeInterpreterCallCodeWsDelta
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ResponseCodeInterpreterCallCodeWsDelta
Auto Trait Implementations§
impl Freeze for ResponseCodeInterpreterCallCodeWsDelta
impl RefUnwindSafe for ResponseCodeInterpreterCallCodeWsDelta
impl Send for ResponseCodeInterpreterCallCodeWsDelta
impl Sync for ResponseCodeInterpreterCallCodeWsDelta
impl Unpin for ResponseCodeInterpreterCallCodeWsDelta
impl UnsafeUnpin for ResponseCodeInterpreterCallCodeWsDelta
impl UnwindSafe for ResponseCodeInterpreterCallCodeWsDelta
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