pub struct CacheLookupRequest<'a> {
pub prompt_version: &'a str,
pub provider: &'a str,
pub model: &'a str,
pub source_lang: Option<&'a str>,
pub target_lang: &'a str,
pub cache_namespace: &'a str,
}Fields§
§prompt_version: &'a str§provider: &'a str§model: &'a str§source_lang: Option<&'a str>§target_lang: &'a str§cache_namespace: &'a strTrait Implementations§
Source§impl<'a> Clone for CacheLookupRequest<'a>
impl<'a> Clone for CacheLookupRequest<'a>
Source§fn clone(&self) -> CacheLookupRequest<'a>
fn clone(&self) -> CacheLookupRequest<'a>
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 moreimpl<'a> Copy for CacheLookupRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for CacheLookupRequest<'a>
impl<'a> RefUnwindSafe for CacheLookupRequest<'a>
impl<'a> Send for CacheLookupRequest<'a>
impl<'a> Sync for CacheLookupRequest<'a>
impl<'a> Unpin for CacheLookupRequest<'a>
impl<'a> UnsafeUnpin for CacheLookupRequest<'a>
impl<'a> UnwindSafe for CacheLookupRequest<'a>
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