#[non_exhaustive]pub struct Parameter {
pub parameter_id: String,
pub value: Option<Value>,
/* private fields */
}Available on crate features
job-service or vizier-service only.Expand description
A message representing a parameter to be tuned.
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.parameter_id: StringOutput only. The ID of the parameter. The parameter should be defined in StudySpec’s Parameters.
value: Option<Value>Output only. The value of the parameter.
number_value will be set if a parameter defined in StudySpec is
in type ‘INTEGER’, ‘DOUBLE’ or ‘DISCRETE’.
string_value will be set if a parameter defined in StudySpec is
in type ‘CATEGORICAL’.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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