pub struct AnthropicRequest {
pub model: String,
pub max_tokens: u32,
pub temperature: f32,
pub system: Vec<AnthropicSystemBlock>,
pub messages: Vec<AnthropicMessage>,
}Fields§
§model: String§max_tokens: u32§temperature: f32§system: Vec<AnthropicSystemBlock>Structured system blocks; omitted from JSON when empty.
messages: Vec<AnthropicMessage>Trait Implementations§
Source§impl Debug for AnthropicRequest
impl Debug for AnthropicRequest
Auto Trait Implementations§
impl Freeze for AnthropicRequest
impl RefUnwindSafe for AnthropicRequest
impl Send for AnthropicRequest
impl Sync for AnthropicRequest
impl Unpin for AnthropicRequest
impl UnsafeUnpin for AnthropicRequest
impl UnwindSafe for AnthropicRequest
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