#[non_exhaustive]pub struct GenerateSyntheticDataResponse {
pub synthetic_examples: Vec<SyntheticExample>,
/* private fields */
}Available on crate feature
data-foundry-service only.Expand description
The response containing the generated data.
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.synthetic_examples: Vec<SyntheticExample>A list of generated synthetic examples.
Implementations§
Source§impl GenerateSyntheticDataResponse
impl GenerateSyntheticDataResponse
pub fn new() -> Self
Sourcepub fn set_synthetic_examples<T, V>(self, v: T) -> Self
pub fn set_synthetic_examples<T, V>(self, v: T) -> Self
Sets the value of synthetic_examples.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::SyntheticExample;
let x = GenerateSyntheticDataResponse::new()
.set_synthetic_examples([
SyntheticExample::default()/* use setters */,
SyntheticExample::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for GenerateSyntheticDataResponse
impl Clone for GenerateSyntheticDataResponse
Source§fn clone(&self) -> GenerateSyntheticDataResponse
fn clone(&self) -> GenerateSyntheticDataResponse
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 GenerateSyntheticDataResponse
impl Default for GenerateSyntheticDataResponse
Source§fn default() -> GenerateSyntheticDataResponse
fn default() -> GenerateSyntheticDataResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenerateSyntheticDataResponse
impl PartialEq for GenerateSyntheticDataResponse
Source§fn eq(&self, other: &GenerateSyntheticDataResponse) -> bool
fn eq(&self, other: &GenerateSyntheticDataResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GenerateSyntheticDataResponse
Auto Trait Implementations§
impl Freeze for GenerateSyntheticDataResponse
impl RefUnwindSafe for GenerateSyntheticDataResponse
impl Send for GenerateSyntheticDataResponse
impl Sync for GenerateSyntheticDataResponse
impl Unpin for GenerateSyntheticDataResponse
impl UnwindSafe for GenerateSyntheticDataResponse
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