#[non_exhaustive]pub struct CreateModelRequest {
pub parent: String,
pub model: Option<Model>,
pub dry_run: bool,
/* private fields */
}Expand description
Request for creating a model.
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.parent: StringRequired. The parent resource under which to create the model. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}
model: Option<Model>Required. The payload of the Model to create.
dry_run: boolOptional. Whether to run a dry run to validate the request (without actually creating the model).
Implementations§
Source§impl CreateModelRequest
impl CreateModelRequest
Trait Implementations§
Source§impl Clone for CreateModelRequest
impl Clone for CreateModelRequest
Source§fn clone(&self) -> CreateModelRequest
fn clone(&self) -> CreateModelRequest
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 CreateModelRequest
impl Debug for CreateModelRequest
Source§impl Default for CreateModelRequest
impl Default for CreateModelRequest
Source§fn default() -> CreateModelRequest
fn default() -> CreateModelRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateModelRequest
impl Message for CreateModelRequest
Source§impl PartialEq for CreateModelRequest
impl PartialEq for CreateModelRequest
impl StructuralPartialEq for CreateModelRequest
Auto Trait Implementations§
impl Freeze for CreateModelRequest
impl RefUnwindSafe for CreateModelRequest
impl Send for CreateModelRequest
impl Sync for CreateModelRequest
impl Unpin for CreateModelRequest
impl UnwindSafe for CreateModelRequest
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