#[non_exhaustive]pub struct VertexAiSearchConfig {
pub serving_config: String,
/* private fields */
}Available on crate feature
vertex-rag-data-service only.Expand description
Config for the Vertex AI Search.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.serving_config: StringVertex AI Search Serving Config resource full name. For example,
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}
or
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}.
Implementations§
Source§impl VertexAiSearchConfig
impl VertexAiSearchConfig
pub fn new() -> Self
Sourcepub fn set_serving_config<T: Into<String>>(self, v: T) -> Self
pub fn set_serving_config<T: Into<String>>(self, v: T) -> Self
Sets the value of serving_config.
§Example
ⓘ
let x = VertexAiSearchConfig::new().set_serving_config("example");Trait Implementations§
Source§impl Clone for VertexAiSearchConfig
impl Clone for VertexAiSearchConfig
Source§fn clone(&self) -> VertexAiSearchConfig
fn clone(&self) -> VertexAiSearchConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 VertexAiSearchConfig
impl Debug for VertexAiSearchConfig
Source§impl Default for VertexAiSearchConfig
impl Default for VertexAiSearchConfig
Source§fn default() -> VertexAiSearchConfig
fn default() -> VertexAiSearchConfig
Returns the “default value” for a type. Read more
Source§impl Message for VertexAiSearchConfig
impl Message for VertexAiSearchConfig
Source§impl PartialEq for VertexAiSearchConfig
impl PartialEq for VertexAiSearchConfig
impl StructuralPartialEq for VertexAiSearchConfig
Auto Trait Implementations§
impl Freeze for VertexAiSearchConfig
impl RefUnwindSafe for VertexAiSearchConfig
impl Send for VertexAiSearchConfig
impl Sync for VertexAiSearchConfig
impl Unpin for VertexAiSearchConfig
impl UnwindSafe for VertexAiSearchConfig
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