pub struct ProviderTranscriptGroup { /* private fields */ }Expand description
Items that must survive or be removed together, anchored at one ordinary
transcript message. The anchor gives later provider adapters an exact
chronological insertion/replacement point without putting raw items inside
super::Message.
Implementations§
Source§impl ProviderTranscriptGroup
impl ProviderTranscriptGroup
Sourcepub fn validate_items(
items: &[ProviderTranscriptItem],
) -> Result<(), ProviderTranscriptError>
pub fn validate_items( items: &[ProviderTranscriptItem], ) -> Result<(), ProviderTranscriptError>
Validate an atomic provider-native batch before any item is exposed to the engine stream. Provider adapters use this same admission path as durable group construction so malformed ordering cannot fail later, after the normalized assistant response has already been committed.
pub fn id(&self) -> &str
pub fn epoch(&self) -> u64
pub fn sequence(&self) -> u64
pub fn anchor_message_id(&self) -> &str
pub fn family(&self) -> ProviderFamily
pub fn protocol(&self) -> ProviderProtocol
pub fn provider_boundary_sha256(&self) -> &str
pub fn items(&self) -> &[ProviderTranscriptItem]
Trait Implementations§
Source§impl Clone for ProviderTranscriptGroup
impl Clone for ProviderTranscriptGroup
Source§fn clone(&self) -> ProviderTranscriptGroup
fn clone(&self) -> ProviderTranscriptGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderTranscriptGroup
impl Debug for ProviderTranscriptGroup
Source§impl<'de> Deserialize<'de> for ProviderTranscriptGroup
impl<'de> Deserialize<'de> for ProviderTranscriptGroup
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
Source§impl PartialEq for ProviderTranscriptGroup
impl PartialEq for ProviderTranscriptGroup
Source§impl Serialize for ProviderTranscriptGroup
impl Serialize for ProviderTranscriptGroup
impl StructuralPartialEq for ProviderTranscriptGroup
Auto Trait Implementations§
impl Freeze for ProviderTranscriptGroup
impl RefUnwindSafe for ProviderTranscriptGroup
impl Send for ProviderTranscriptGroup
impl Sync for ProviderTranscriptGroup
impl Unpin for ProviderTranscriptGroup
impl UnsafeUnpin for ProviderTranscriptGroup
impl UnwindSafe for ProviderTranscriptGroup
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