pub struct ClaudeTranscript { /* private fields */ }Implementations§
Source§impl ClaudeTranscript
impl ClaudeTranscript
pub fn new(path: impl Into<PathBuf>) -> Self
Sourcepub fn with_prices(self, prices: &'static Table) -> Self
pub fn with_prices(self, prices: &'static Table) -> Self
Price with this table instead of the process-wide one. Lets a test assert a cost without the developer’s own price file changing it.
pub fn set_registry_hints(&mut self, ps: &PidSession)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClaudeTranscript
impl RefUnwindSafe for ClaudeTranscript
impl Send for ClaudeTranscript
impl Sync for ClaudeTranscript
impl Unpin for ClaudeTranscript
impl UnsafeUnpin for ClaudeTranscript
impl UnwindSafe for ClaudeTranscript
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