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