pub struct ClaudeOpus4_5;Expand description
Claude Opus 4.5 - High-capability reasoning and creative writing model
Trait Implementations§
Source§impl AnthropicModel for ClaudeOpus4_5
impl AnthropicModel for ClaudeOpus4_5
Source§fn anthropic_id(&self) -> &'static str
fn anthropic_id(&self) -> &'static str
The Anthropic API model ID Read more
Source§impl BedrockModel for ClaudeOpus4_5
impl BedrockModel for ClaudeOpus4_5
Source§fn bedrock_id(&self) -> &'static str
fn bedrock_id(&self) -> &'static str
The Bedrock model ID Read more
Source§fn default_inference_profile(&self) -> InferenceProfile
fn default_inference_profile(&self) -> InferenceProfile
The default inference profile for this model Read more
Source§impl Clone for ClaudeOpus4_5
impl Clone for ClaudeOpus4_5
Source§fn clone(&self) -> ClaudeOpus4_5
fn clone(&self) -> ClaudeOpus4_5
Returns a duplicate of the value. Read more
1.0.0 · 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 ClaudeOpus4_5
impl Debug for ClaudeOpus4_5
Source§impl Default for ClaudeOpus4_5
impl Default for ClaudeOpus4_5
Source§fn default() -> ClaudeOpus4_5
fn default() -> ClaudeOpus4_5
Returns the “default value” for a type. Read more
Source§impl Model for ClaudeOpus4_5
impl Model for ClaudeOpus4_5
Source§fn max_context_tokens(&self) -> usize
fn max_context_tokens(&self) -> usize
Maximum input context tokens
Source§fn max_output_tokens(&self) -> usize
fn max_output_tokens(&self) -> usize
Maximum output tokens the model can generate
Source§fn estimate_message_tokens(&self, messages: &[Message]) -> usize
fn estimate_message_tokens(&self, messages: &[Message]) -> usize
Estimate tokens for a conversation Read more
Source§fn estimate_content_block_tokens(&self, block: &ContentBlock) -> usize
fn estimate_content_block_tokens(&self, block: &ContentBlock) -> usize
Estimate tokens for a single content block
impl Copy for ClaudeOpus4_5
Auto Trait Implementations§
impl Freeze for ClaudeOpus4_5
impl RefUnwindSafe for ClaudeOpus4_5
impl Send for ClaudeOpus4_5
impl Sync for ClaudeOpus4_5
impl Unpin for ClaudeOpus4_5
impl UnwindSafe for ClaudeOpus4_5
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