pub struct FallbackContext {
pub reason: FallbackReason,
pub conversation: Arc<[Message]>,
pub attempt: usize,
pub max_attempts: usize,
}Expand description
Fallback 上下文
Fields§
§reason: FallbackReason§conversation: Arc<[Message]>§attempt: usize§max_attempts: usizeAuto Trait Implementations§
impl Freeze for FallbackContext
impl RefUnwindSafe for FallbackContext
impl Send for FallbackContext
impl Sync for FallbackContext
impl Unpin for FallbackContext
impl UnsafeUnpin for FallbackContext
impl UnwindSafe for FallbackContext
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