pub struct GoogleCloudMlV1__SuggestTrialsRequest {
pub client_id: Option<String>,
pub suggestion_count: Option<i32>,
}
Expand description
The request message for the SuggestTrial service method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§client_id: Option<String>
Required. The identifier of the client that is requesting the suggestion. If multiple SuggestTrialsRequests have the same client_id
, the service will return the identical suggested trial if the trial is pending, and provide a new trial if the last suggested trial was completed.
suggestion_count: Option<i32>
Required. The number of suggestions requested.
Trait Implementations§
source§impl Clone for GoogleCloudMlV1__SuggestTrialsRequest
impl Clone for GoogleCloudMlV1__SuggestTrialsRequest
source§fn clone(&self) -> GoogleCloudMlV1__SuggestTrialsRequest
fn clone(&self) -> GoogleCloudMlV1__SuggestTrialsRequest
Returns a copy 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 Default for GoogleCloudMlV1__SuggestTrialsRequest
impl Default for GoogleCloudMlV1__SuggestTrialsRequest
source§fn default() -> GoogleCloudMlV1__SuggestTrialsRequest
fn default() -> GoogleCloudMlV1__SuggestTrialsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudMlV1__SuggestTrialsRequest
impl<'de> Deserialize<'de> for GoogleCloudMlV1__SuggestTrialsRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for GoogleCloudMlV1__SuggestTrialsRequest
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudMlV1__SuggestTrialsRequest
impl Send for GoogleCloudMlV1__SuggestTrialsRequest
impl Sync for GoogleCloudMlV1__SuggestTrialsRequest
impl Unpin for GoogleCloudMlV1__SuggestTrialsRequest
impl UnwindSafe for GoogleCloudMlV1__SuggestTrialsRequest
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