pub struct EndpointDefaults {
pub cache: Option<bool>,
pub cache_pricing: Option<bool>,
}Expand description
Global defaults applied to endpoints that do not override them.
Fields§
§cache: Option<bool>Default for provider-side prompt-cache markers.
cache_pricing: Option<bool>Default for cache-aware cost pricing.
Trait Implementations§
Source§impl Clone for EndpointDefaults
impl Clone for EndpointDefaults
impl Copy for EndpointDefaults
Source§impl Debug for EndpointDefaults
impl Debug for EndpointDefaults
Auto Trait Implementations§
impl Freeze for EndpointDefaults
impl RefUnwindSafe for EndpointDefaults
impl Send for EndpointDefaults
impl Sync for EndpointDefaults
impl Unpin for EndpointDefaults
impl UnsafeUnpin for EndpointDefaults
impl UnwindSafe for EndpointDefaults
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