pub struct ContextChunk {
pub source: String,
pub label: String,
pub content: String,
pub captured_at: DateTime<Utc>,
pub token_estimate: usize,
}Fields§
§source: String§label: String§content: String§captured_at: DateTime<Utc>§token_estimate: usizeImplementations§
Trait Implementations§
Source§impl Clone for ContextChunk
impl Clone for ContextChunk
Source§impl Debug for ContextChunk
impl Debug for ContextChunk
Source§impl<'de> Deserialize<'de> for ContextChunk
impl<'de> Deserialize<'de> for ContextChunk
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
Auto Trait Implementations§
impl Forget for ContextChunk
impl Freeze for ContextChunk
impl Move for ContextChunk
impl RefUnwindSafe for ContextChunk
impl Send for ContextChunk
impl Sync for ContextChunk
impl Unpin for ContextChunk
impl UnsafeUnpin for ContextChunk
impl UnwindSafe for ContextChunk
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