#[non_exhaustive]pub struct GenerateContentBatch {
pub model: Option<String>,
pub name: Option<String>,
pub display_name: Option<String>,
pub input_config: Option<InputConfig>,
pub output: Option<GenerateContentBatchOutput>,
pub create_time: Option<String>,
pub end_time: Option<String>,
pub update_time: Option<String>,
pub batch_stats: Option<BatchStats>,
pub state: Option<BatchState>,
pub priority: Option<String>,
pub extra: ExtraFields,
}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.model: Option<String>§name: Option<String>§display_name: Option<String>§input_config: Option<InputConfig>§output: Option<GenerateContentBatchOutput>§create_time: Option<String>§end_time: Option<String>§update_time: Option<String>§batch_stats: Option<BatchStats>§state: Option<BatchState>§priority: Option<String>§extra: ExtraFieldsImplementations§
Trait Implementations§
Source§impl Clone for GenerateContentBatch
impl Clone for GenerateContentBatch
Source§fn clone(&self) -> GenerateContentBatch
fn clone(&self) -> GenerateContentBatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GenerateContentBatch
impl Debug for GenerateContentBatch
Source§impl Default for GenerateContentBatch
impl Default for GenerateContentBatch
Source§fn default() -> GenerateContentBatch
fn default() -> GenerateContentBatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GenerateContentBatch
impl<'de> Deserialize<'de> for GenerateContentBatch
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
Source§impl PartialEq for GenerateContentBatch
impl PartialEq for GenerateContentBatch
Source§impl Serialize for GenerateContentBatch
impl Serialize for GenerateContentBatch
impl StructuralPartialEq for GenerateContentBatch
Auto Trait Implementations§
impl Freeze for GenerateContentBatch
impl RefUnwindSafe for GenerateContentBatch
impl Send for GenerateContentBatch
impl Sync for GenerateContentBatch
impl Unpin for GenerateContentBatch
impl UnsafeUnpin for GenerateContentBatch
impl UnwindSafe for GenerateContentBatch
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