pub struct ModelSnapshot {
pub id: String,
pub name: String,
pub created_at: i64,
pub filesystem_size_mebibytes: u32,
pub parameter_definitions: ParameterDefinitions,
pub default_launcher_specs: DefaultLauncherSpecs,
pub max_durations_seconds: MaxDurationsSeconds,
pub image: SnapshotImage,
pub state: SnapshotState,
}Fields§
§id: String§name: String§created_at: i64§filesystem_size_mebibytes: u32§parameter_definitions: ParameterDefinitions§default_launcher_specs: DefaultLauncherSpecs§max_durations_seconds: MaxDurationsSeconds§image: SnapshotImage§state: SnapshotStateTrait Implementations§
source§impl Clone for ModelSnapshot
impl Clone for ModelSnapshot
source§fn clone(&self) -> ModelSnapshot
fn clone(&self) -> ModelSnapshot
Returns a copy 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 ModelSnapshot
impl Debug for ModelSnapshot
source§impl<'de> Deserialize<'de> for ModelSnapshot
impl<'de> Deserialize<'de> for ModelSnapshot
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
Auto Trait Implementations§
impl Freeze for ModelSnapshot
impl RefUnwindSafe for ModelSnapshot
impl Send for ModelSnapshot
impl Sync for ModelSnapshot
impl Unpin for ModelSnapshot
impl UnwindSafe for ModelSnapshot
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)