pub struct DebugPromptLayer {
pub name: String,
pub stability: DebugPromptLayerStability,
pub char_len: usize,
pub byte_len: usize,
pub token_estimate: usize,
pub sha256: String,
pub tool_result: Option<DebugToolResultInspection>,
pub turn_meta: Option<DebugTurnMetaInspection>,
}Expand description
A cache inspection’s semantic layer, retaining the same public JSON field order as the baseline without borrowing the client request type.
Fields§
§name: String§stability: DebugPromptLayerStability§char_len: usize§byte_len: usize§token_estimate: usize§sha256: String§tool_result: Option<DebugToolResultInspection>§turn_meta: Option<DebugTurnMetaInspection>Trait Implementations§
Source§impl Clone for DebugPromptLayer
impl Clone for DebugPromptLayer
Source§impl Debug for DebugPromptLayer
impl Debug for DebugPromptLayer
impl Eq for DebugPromptLayer
Source§impl PartialEq for DebugPromptLayer
impl PartialEq for DebugPromptLayer
Source§impl Serialize for DebugPromptLayer
impl Serialize for DebugPromptLayer
impl StructuralPartialEq for DebugPromptLayer
Auto Trait Implementations§
impl Freeze for DebugPromptLayer
impl RefUnwindSafe for DebugPromptLayer
impl Send for DebugPromptLayer
impl Sync for DebugPromptLayer
impl Unpin for DebugPromptLayer
impl UnsafeUnpin for DebugPromptLayer
impl UnwindSafe for DebugPromptLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.