pub struct SystemChunk {
pub content: String,
}Expand description
Streaming text fragment for a System message.
Fields§
§content: StringIncremental text fragment.
Trait Implementations§
Source§impl Clone for SystemChunk
impl Clone for SystemChunk
Source§fn clone(&self) -> SystemChunk
fn clone(&self) -> SystemChunk
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 SystemChunk
impl Debug for SystemChunk
Source§impl Default for SystemChunk
impl Default for SystemChunk
Source§fn default() -> SystemChunk
fn default() -> SystemChunk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemChunk
impl<'de> Deserialize<'de> for SystemChunk
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 SystemChunk
impl PartialEq for SystemChunk
Source§fn eq(&self, other: &SystemChunk) -> bool
fn eq(&self, other: &SystemChunk) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemChunk
impl Serialize for SystemChunk
impl StructuralPartialEq for SystemChunk
Auto Trait Implementations§
impl Freeze for SystemChunk
impl RefUnwindSafe for SystemChunk
impl Send for SystemChunk
impl Sync for SystemChunk
impl Unpin for SystemChunk
impl UnsafeUnpin for SystemChunk
impl UnwindSafe for SystemChunk
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