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