#[non_exhaustive]pub struct ListCustomModelsRequest {
pub data_store: String,
/* private fields */
}Available on crate feature
search-tuning-service only.Expand description
Request message for SearchTuningService.ListCustomModels method.
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.data_store: StringRequired. The resource name of the parent Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store.
This field is used to identify the data store where to fetch the models
from.
Implementations§
Source§impl ListCustomModelsRequest
impl ListCustomModelsRequest
pub fn new() -> Self
Sourcepub fn set_data_store<T: Into<String>>(self, v: T) -> Self
pub fn set_data_store<T: Into<String>>(self, v: T) -> Self
Sets the value of data_store.
§Example
ⓘ
let x = ListCustomModelsRequest::new().set_data_store("example");Trait Implementations§
Source§impl Clone for ListCustomModelsRequest
impl Clone for ListCustomModelsRequest
Source§fn clone(&self) -> ListCustomModelsRequest
fn clone(&self) -> ListCustomModelsRequest
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 ListCustomModelsRequest
impl Debug for ListCustomModelsRequest
Source§impl Default for ListCustomModelsRequest
impl Default for ListCustomModelsRequest
Source§fn default() -> ListCustomModelsRequest
fn default() -> ListCustomModelsRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListCustomModelsRequest
impl Message for ListCustomModelsRequest
Source§impl PartialEq for ListCustomModelsRequest
impl PartialEq for ListCustomModelsRequest
impl StructuralPartialEq for ListCustomModelsRequest
Auto Trait Implementations§
impl Freeze for ListCustomModelsRequest
impl RefUnwindSafe for ListCustomModelsRequest
impl Send for ListCustomModelsRequest
impl Sync for ListCustomModelsRequest
impl Unpin for ListCustomModelsRequest
impl UnwindSafe for ListCustomModelsRequest
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