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