#[repr(i32)]pub enum ProviderFormat {
Anthropic = 0,
OpenAI = 1,
}Expand description
标识请求格式。对齐 TS enum ProviderFormat { Anthropic=0, OpenAI=1 }。
Variants§
Trait Implementations§
Source§impl Clone for ProviderFormat
impl Clone for ProviderFormat
impl Copy for ProviderFormat
Source§impl Debug for ProviderFormat
impl Debug for ProviderFormat
impl Eq for ProviderFormat
Source§impl PartialEq for ProviderFormat
impl PartialEq for ProviderFormat
impl StructuralPartialEq for ProviderFormat
Auto Trait Implementations§
impl Freeze for ProviderFormat
impl RefUnwindSafe for ProviderFormat
impl Send for ProviderFormat
impl Sync for ProviderFormat
impl Unpin for ProviderFormat
impl UnsafeUnpin for ProviderFormat
impl UnwindSafe for ProviderFormat
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