pub struct GeminiPromptCache {
pub cached_content: String,
}Expand description
Gemini cached content reference.
Fields§
§cached_content: StringResource name returned by Gemini cache creation APIs.
Implementations§
Trait Implementations§
Source§impl Clone for GeminiPromptCache
impl Clone for GeminiPromptCache
Source§fn clone(&self) -> GeminiPromptCache
fn clone(&self) -> GeminiPromptCache
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 Debug for GeminiPromptCache
impl Debug for GeminiPromptCache
Source§impl<'de> Deserialize<'de> for GeminiPromptCache
impl<'de> Deserialize<'de> for GeminiPromptCache
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GeminiPromptCache
Source§impl PartialEq for GeminiPromptCache
impl PartialEq for GeminiPromptCache
Source§impl Serialize for GeminiPromptCache
impl Serialize for GeminiPromptCache
impl StructuralPartialEq for GeminiPromptCache
Auto Trait Implementations§
impl Freeze for GeminiPromptCache
impl RefUnwindSafe for GeminiPromptCache
impl Send for GeminiPromptCache
impl Sync for GeminiPromptCache
impl Unpin for GeminiPromptCache
impl UnsafeUnpin for GeminiPromptCache
impl UnwindSafe for GeminiPromptCache
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