#[non_exhaustive]pub struct ExportModelMetadataRequest {
pub model: String,
pub structured_metadata_destination: Option<BigQueryDestination>,
/* private fields */
}Expand description
Request for exporting Model metadata.
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.model: StringRequired. The resource name of the Model.
structured_metadata_destination: Option<BigQueryDestination>Required. BigQuery output where the metadata will be written.
Implementations§
Source§impl ExportModelMetadataRequest
impl ExportModelMetadataRequest
Sourcepub fn set_structured_metadata_destination<T>(self, v: T) -> Selfwhere
T: Into<BigQueryDestination>,
pub fn set_structured_metadata_destination<T>(self, v: T) -> Selfwhere
T: Into<BigQueryDestination>,
Sets the value of structured_metadata_destination.
§Example
ⓘ
use google_cloud_financialservices_v1::model::BigQueryDestination;
let x = ExportModelMetadataRequest::new().set_structured_metadata_destination(BigQueryDestination::default()/* use setters */);Sourcepub fn set_or_clear_structured_metadata_destination<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<BigQueryDestination>,
pub fn set_or_clear_structured_metadata_destination<T>(
self,
v: Option<T>,
) -> Selfwhere
T: Into<BigQueryDestination>,
Sets or clears the value of structured_metadata_destination.
§Example
ⓘ
use google_cloud_financialservices_v1::model::BigQueryDestination;
let x = ExportModelMetadataRequest::new().set_or_clear_structured_metadata_destination(Some(BigQueryDestination::default()/* use setters */));
let x = ExportModelMetadataRequest::new().set_or_clear_structured_metadata_destination(None::<BigQueryDestination>);Trait Implementations§
Source§impl Clone for ExportModelMetadataRequest
impl Clone for ExportModelMetadataRequest
Source§fn clone(&self) -> ExportModelMetadataRequest
fn clone(&self) -> ExportModelMetadataRequest
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 ExportModelMetadataRequest
impl Debug for ExportModelMetadataRequest
Source§impl Default for ExportModelMetadataRequest
impl Default for ExportModelMetadataRequest
Source§fn default() -> ExportModelMetadataRequest
fn default() -> ExportModelMetadataRequest
Returns the “default value” for a type. Read more
Source§impl Message for ExportModelMetadataRequest
impl Message for ExportModelMetadataRequest
Source§impl PartialEq for ExportModelMetadataRequest
impl PartialEq for ExportModelMetadataRequest
Source§fn eq(&self, other: &ExportModelMetadataRequest) -> bool
fn eq(&self, other: &ExportModelMetadataRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExportModelMetadataRequest
Auto Trait Implementations§
impl Freeze for ExportModelMetadataRequest
impl RefUnwindSafe for ExportModelMetadataRequest
impl Send for ExportModelMetadataRequest
impl Sync for ExportModelMetadataRequest
impl Unpin for ExportModelMetadataRequest
impl UnsafeUnpin for ExportModelMetadataRequest
impl UnwindSafe for ExportModelMetadataRequest
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