pub struct Retrieval {
pub vertex_ai_search: Option<VertexAISearch>,
pub vertex_rag_store: Option<VertexRAGStore>,
}Fields§
§vertex_ai_search: Option<VertexAISearch>§vertex_rag_store: Option<VertexRAGStore>Implementations§
Source§impl Retrieval
impl Retrieval
Sourcepub fn vertex_ai_search(self, value: impl Into<VertexAISearch>) -> Self
pub fn vertex_ai_search(self, value: impl Into<VertexAISearch>) -> Self
Sets the vertex_ai_search field of this struct.
Sourcepub fn vertex_rag_store(self, value: impl Into<VertexRAGStore>) -> Self
pub fn vertex_rag_store(self, value: impl Into<VertexRAGStore>) -> Self
Sets the vertex_rag_store field of this struct.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Retrieval
impl<'de> Deserialize<'de> for Retrieval
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
Auto Trait Implementations§
impl Freeze for Retrieval
impl RefUnwindSafe for Retrieval
impl Send for Retrieval
impl Sync for Retrieval
impl Unpin for Retrieval
impl UnwindSafe for Retrieval
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