pub struct NormalizedMessage {
pub role: ExternalRole,
pub parts: Vec<Part>,
}Expand description
A provider-facing message after role downgrade and tool-pair repair.
Fields§
§role: ExternalRoleThe downgraded role, safe to send to a provider adapter.
parts: Vec<Part>Content parts belonging to this message, already repaired.
Trait Implementations§
Source§impl Clone for NormalizedMessage
impl Clone for NormalizedMessage
Source§impl Debug for NormalizedMessage
impl Debug for NormalizedMessage
Source§impl PartialEq for NormalizedMessage
impl PartialEq for NormalizedMessage
impl StructuralPartialEq for NormalizedMessage
Auto Trait Implementations§
impl Freeze for NormalizedMessage
impl RefUnwindSafe for NormalizedMessage
impl Send for NormalizedMessage
impl Sync for NormalizedMessage
impl Unpin for NormalizedMessage
impl UnsafeUnpin for NormalizedMessage
impl UnwindSafe for NormalizedMessage
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