#[non_exhaustive]pub struct NasJobOutput {
pub output: Option<Output>,
/* private fields */
}Available on crate feature
job-service only.Expand description
Represents a uCAIP NasJob output.
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.output: Option<Output>The output of this Neural Architecture Search (NAS) job.
Implementations§
Source§impl NasJobOutput
impl NasJobOutput
pub fn new() -> Self
Sourcepub fn set_output<T: Into<Option<Output>>>(self, v: T) -> Self
pub fn set_output<T: Into<Option<Output>>>(self, v: T) -> Self
Sets the value of output.
Note that all the setters affecting output are mutually
exclusive.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::nas_job_output::MultiTrialJobOutput;
let x = NasJobOutput::new().set_output(Some(
google_cloud_aiplatform_v1::model::nas_job_output::Output::MultiTrialJobOutput(MultiTrialJobOutput::default().into())));Sourcepub fn multi_trial_job_output(&self) -> Option<&Box<MultiTrialJobOutput>>
pub fn multi_trial_job_output(&self) -> Option<&Box<MultiTrialJobOutput>>
The value of output
if it holds a MultiTrialJobOutput, None if the field is not set or
holds a different branch.
Sourcepub fn set_multi_trial_job_output<T: Into<Box<MultiTrialJobOutput>>>(
self,
v: T,
) -> Self
pub fn set_multi_trial_job_output<T: Into<Box<MultiTrialJobOutput>>>( self, v: T, ) -> Self
Sets the value of output
to hold a MultiTrialJobOutput.
Note that all the setters affecting output are
mutually exclusive.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::nas_job_output::MultiTrialJobOutput;
let x = NasJobOutput::new().set_multi_trial_job_output(MultiTrialJobOutput::default()/* use setters */);
assert!(x.multi_trial_job_output().is_some());Trait Implementations§
Source§impl Clone for NasJobOutput
impl Clone for NasJobOutput
Source§fn clone(&self) -> NasJobOutput
fn clone(&self) -> NasJobOutput
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 NasJobOutput
impl Debug for NasJobOutput
Source§impl Default for NasJobOutput
impl Default for NasJobOutput
Source§fn default() -> NasJobOutput
fn default() -> NasJobOutput
Returns the “default value” for a type. Read more
Source§impl Message for NasJobOutput
impl Message for NasJobOutput
Source§impl PartialEq for NasJobOutput
impl PartialEq for NasJobOutput
impl StructuralPartialEq for NasJobOutput
Auto Trait Implementations§
impl Freeze for NasJobOutput
impl RefUnwindSafe for NasJobOutput
impl Send for NasJobOutput
impl Sync for NasJobOutput
impl Unpin for NasJobOutput
impl UnwindSafe for NasJobOutput
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