pub struct StructuredStreamSnapshot {
pub content_json: String,
pub raw_content_json: String,
pub is_complete: bool,
}Expand description
One structured-generation stream snapshot.
Fields§
§content_json: String§raw_content_json: String§is_complete: boolTrait Implementations§
Source§impl Clone for StructuredStreamSnapshot
impl Clone for StructuredStreamSnapshot
Source§fn clone(&self) -> StructuredStreamSnapshot
fn clone(&self) -> StructuredStreamSnapshot
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 StructuredStreamSnapshot
impl Debug for StructuredStreamSnapshot
Source§impl PartialEq for StructuredStreamSnapshot
impl PartialEq for StructuredStreamSnapshot
Source§fn eq(&self, other: &StructuredStreamSnapshot) -> bool
fn eq(&self, other: &StructuredStreamSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StructuredStreamSnapshot
impl StructuralPartialEq for StructuredStreamSnapshot
Auto Trait Implementations§
impl Freeze for StructuredStreamSnapshot
impl RefUnwindSafe for StructuredStreamSnapshot
impl Send for StructuredStreamSnapshot
impl Sync for StructuredStreamSnapshot
impl Unpin for StructuredStreamSnapshot
impl UnsafeUnpin for StructuredStreamSnapshot
impl UnwindSafe for StructuredStreamSnapshot
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