pub struct ResponseCompletionEnvelope {
pub open_token_text: String,
pub close_token_text: String,
pub max_envelopes: usize,
}Expand description
A lexical response envelope that can complete an otherwise pending response.
This describes only token boundaries. The product/API layer remains responsible for validating the enclosed payload after generation.
Fields§
§open_token_text: String§close_token_text: String§max_envelopes: usizeTrait Implementations§
Source§impl Clone for ResponseCompletionEnvelope
impl Clone for ResponseCompletionEnvelope
Source§fn clone(&self) -> ResponseCompletionEnvelope
fn clone(&self) -> ResponseCompletionEnvelope
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 ResponseCompletionEnvelope
impl Debug for ResponseCompletionEnvelope
Source§impl<'de> Deserialize<'de> for ResponseCompletionEnvelope
impl<'de> Deserialize<'de> for ResponseCompletionEnvelope
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
impl Eq for ResponseCompletionEnvelope
impl StructuralPartialEq for ResponseCompletionEnvelope
Auto Trait Implementations§
impl Freeze for ResponseCompletionEnvelope
impl RefUnwindSafe for ResponseCompletionEnvelope
impl Send for ResponseCompletionEnvelope
impl Sync for ResponseCompletionEnvelope
impl Unpin for ResponseCompletionEnvelope
impl UnsafeUnpin for ResponseCompletionEnvelope
impl UnwindSafe for ResponseCompletionEnvelope
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