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