pub struct ResolvedGenerationPolicy<TThinking> {
pub max_output_tokens: u64,
pub cache_retention: CacheRetention,
pub expose_thinking: bool,
pub thinking: TThinking,
}Fields§
§max_output_tokens: u64§cache_retention: CacheRetention§expose_thinking: bool§thinking: TThinkingTrait Implementations§
Source§impl<TThinking: Clone> Clone for ResolvedGenerationPolicy<TThinking>
impl<TThinking: Clone> Clone for ResolvedGenerationPolicy<TThinking>
Source§fn clone(&self) -> ResolvedGenerationPolicy<TThinking>
fn clone(&self) -> ResolvedGenerationPolicy<TThinking>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TThinking: Debug> Debug for ResolvedGenerationPolicy<TThinking>
impl<TThinking: Debug> Debug for ResolvedGenerationPolicy<TThinking>
impl<TThinking: Eq> Eq for ResolvedGenerationPolicy<TThinking>
Source§impl<TThinking: PartialEq> PartialEq for ResolvedGenerationPolicy<TThinking>
impl<TThinking: PartialEq> PartialEq for ResolvedGenerationPolicy<TThinking>
Source§fn eq(&self, other: &ResolvedGenerationPolicy<TThinking>) -> bool
fn eq(&self, other: &ResolvedGenerationPolicy<TThinking>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TThinking> StructuralPartialEq for ResolvedGenerationPolicy<TThinking>
Auto Trait Implementations§
impl<TThinking> Freeze for ResolvedGenerationPolicy<TThinking>where
TThinking: Freeze,
impl<TThinking> RefUnwindSafe for ResolvedGenerationPolicy<TThinking>where
TThinking: RefUnwindSafe,
impl<TThinking> Send for ResolvedGenerationPolicy<TThinking>where
TThinking: Send,
impl<TThinking> Sync for ResolvedGenerationPolicy<TThinking>where
TThinking: Sync,
impl<TThinking> Unpin for ResolvedGenerationPolicy<TThinking>where
TThinking: Unpin,
impl<TThinking> UnsafeUnpin for ResolvedGenerationPolicy<TThinking>where
TThinking: UnsafeUnpin,
impl<TThinking> UnwindSafe for ResolvedGenerationPolicy<TThinking>where
TThinking: UnwindSafe,
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