#[non_exhaustive]pub struct CheckTrialEarlyStoppingStateRequest {
pub trial_name: String,
/* private fields */
}Available on crate feature
vizier-service only.Expand description
Request message for VizierService.CheckTrialEarlyStoppingState.
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.trial_name: StringRequired. The Trial’s name.
Format:
projects/{project}/locations/{location}/studies/{study}/trials/{trial}
Implementations§
Source§impl CheckTrialEarlyStoppingStateRequest
impl CheckTrialEarlyStoppingStateRequest
pub fn new() -> Self
Sourcepub fn set_trial_name<T: Into<String>>(self, v: T) -> Self
pub fn set_trial_name<T: Into<String>>(self, v: T) -> Self
Sets the value of trial_name.
§Example
ⓘ
let x = CheckTrialEarlyStoppingStateRequest::new().set_trial_name("example");Trait Implementations§
Source§impl Clone for CheckTrialEarlyStoppingStateRequest
impl Clone for CheckTrialEarlyStoppingStateRequest
Source§fn clone(&self) -> CheckTrialEarlyStoppingStateRequest
fn clone(&self) -> CheckTrialEarlyStoppingStateRequest
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 Default for CheckTrialEarlyStoppingStateRequest
impl Default for CheckTrialEarlyStoppingStateRequest
Source§fn default() -> CheckTrialEarlyStoppingStateRequest
fn default() -> CheckTrialEarlyStoppingStateRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckTrialEarlyStoppingStateRequest
impl PartialEq for CheckTrialEarlyStoppingStateRequest
Source§fn eq(&self, other: &CheckTrialEarlyStoppingStateRequest) -> bool
fn eq(&self, other: &CheckTrialEarlyStoppingStateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheckTrialEarlyStoppingStateRequest
Auto Trait Implementations§
impl Freeze for CheckTrialEarlyStoppingStateRequest
impl RefUnwindSafe for CheckTrialEarlyStoppingStateRequest
impl Send for CheckTrialEarlyStoppingStateRequest
impl Sync for CheckTrialEarlyStoppingStateRequest
impl Unpin for CheckTrialEarlyStoppingStateRequest
impl UnwindSafe for CheckTrialEarlyStoppingStateRequest
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