pub struct TranscriptPlan { /* private fields */ }Expand description
The complete deterministic piece plan for one recording status.
Implementations§
Source§impl TranscriptPlan
impl TranscriptPlan
Sourcepub fn new(
recording: &RecordingStatus,
effective_context_tokens: u64,
) -> Result<Self, Error>
pub fn new( recording: &RecordingStatus, effective_context_tokens: u64, ) -> Result<Self, Error>
Plans a completed transcript using one quarter of the effective context.
A recording that is not complete produces an empty plan.
Sourcepub fn pieces(&self) -> &[TranscriptPiece]
pub fn pieces(&self) -> &[TranscriptPiece]
Returns the ordered, complete piece plan.
Trait Implementations§
Source§impl Debug for TranscriptPlan
impl Debug for TranscriptPlan
impl Eq for TranscriptPlan
Source§impl PartialEq for TranscriptPlan
impl PartialEq for TranscriptPlan
impl StructuralPartialEq for TranscriptPlan
Auto Trait Implementations§
impl Freeze for TranscriptPlan
impl RefUnwindSafe for TranscriptPlan
impl Send for TranscriptPlan
impl Sync for TranscriptPlan
impl Unpin for TranscriptPlan
impl UnsafeUnpin for TranscriptPlan
impl UnwindSafe for TranscriptPlan
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