#[non_exhaustive]pub struct BatchOptimizeToursRequest {
pub parent: String,
pub model_configs: Vec<AsyncModelConfig>,
/* private fields */
}Expand description
Request to batch optimize tours as an asynchronous operation.
Each input file should contain one OptimizeToursRequest, and each output
file will contain one OptimizeToursResponse. The request contains
information to read/write and parse the files. All the input and output files
should be under the same project.
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. Target project and location to make a call.
Format: projects/{project-id}/locations/{location-id}.
If no location is specified, a region will be chosen automatically.
model_configs: Vec<AsyncModelConfig>Required. Input/Output information each purchase model, such as file paths and data formats.
Implementations§
Source§impl BatchOptimizeToursRequest
impl BatchOptimizeToursRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_model_configs<T, V>(self, v: T) -> Self
pub fn set_model_configs<T, V>(self, v: T) -> Self
Sets the value of model_configs.
Trait Implementations§
Source§impl Clone for BatchOptimizeToursRequest
impl Clone for BatchOptimizeToursRequest
Source§fn clone(&self) -> BatchOptimizeToursRequest
fn clone(&self) -> BatchOptimizeToursRequest
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 BatchOptimizeToursRequest
impl Debug for BatchOptimizeToursRequest
Source§impl Default for BatchOptimizeToursRequest
impl Default for BatchOptimizeToursRequest
Source§fn default() -> BatchOptimizeToursRequest
fn default() -> BatchOptimizeToursRequest
Returns the “default value” for a type. Read more
Source§impl Message for BatchOptimizeToursRequest
impl Message for BatchOptimizeToursRequest
impl StructuralPartialEq for BatchOptimizeToursRequest
Auto Trait Implementations§
impl Freeze for BatchOptimizeToursRequest
impl RefUnwindSafe for BatchOptimizeToursRequest
impl Send for BatchOptimizeToursRequest
impl Sync for BatchOptimizeToursRequest
impl Unpin for BatchOptimizeToursRequest
impl UnwindSafe for BatchOptimizeToursRequest
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