#[non_exhaustive]pub struct OutputTextDelta {
pub agent: Option<Option<Agent>>,
pub sequence_number: i64,
pub item_id: String,
pub output_index: i64,
pub content_index: i64,
pub delta: String,
pub logprobs: Vec<StreamLogprob>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: Option<Option<Agent>>§sequence_number: i64§item_id: String§output_index: i64§content_index: i64§delta: String§logprobs: Vec<StreamLogprob>§rest: RestImplementations§
Source§impl OutputTextDelta
impl OutputTextDelta
Sourcepub fn builder(
sequence_number: i64,
item_id: String,
output_index: i64,
content_index: i64,
delta: String,
logprobs: Vec<StreamLogprob>,
) -> OutputTextDeltaBuilder
pub fn builder( sequence_number: i64, item_id: String, output_index: i64, content_index: i64, delta: String, logprobs: Vec<StreamLogprob>, ) -> OutputTextDeltaBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for OutputTextDelta
impl Clone for OutputTextDelta
Source§impl Debug for OutputTextDelta
impl Debug for OutputTextDelta
Source§impl DeclaredFields for OutputTextDelta
impl DeclaredFields for OutputTextDelta
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for OutputTextDelta
impl<'de> Deserialize<'de> for OutputTextDelta
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 OutputTextDelta
impl PartialEq for OutputTextDelta
Source§impl Serialize for OutputTextDelta
impl Serialize for OutputTextDelta
impl StructuralPartialEq for OutputTextDelta
Auto Trait Implementations§
impl Freeze for OutputTextDelta
impl RefUnwindSafe for OutputTextDelta
impl Send for OutputTextDelta
impl Sync for OutputTextDelta
impl Unpin for OutputTextDelta
impl UnsafeUnpin for OutputTextDelta
impl UnwindSafe for OutputTextDelta
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