pub struct DebugPromptContextSection {
pub index: usize,
pub block_type: String,
pub cache_control: Option<DebugCacheControl>,
pub estimated_tokens: usize,
pub text: String,
}Fields§
§index: usize§block_type: String§cache_control: Option<DebugCacheControl>§estimated_tokens: usize§text: StringTrait Implementations§
Source§impl Clone for DebugPromptContextSection
impl Clone for DebugPromptContextSection
Source§impl Debug for DebugPromptContextSection
impl Debug for DebugPromptContextSection
impl StructuralPartialEq for DebugPromptContextSection
Auto Trait Implementations§
impl Forget for DebugPromptContextSection
impl Freeze for DebugPromptContextSection
impl Move for DebugPromptContextSection
impl RefUnwindSafe for DebugPromptContextSection
impl Send for DebugPromptContextSection
impl Sync for DebugPromptContextSection
impl Unpin for DebugPromptContextSection
impl UnsafeUnpin for DebugPromptContextSection
impl UnwindSafe for DebugPromptContextSection
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