pub struct ContainerSettings {
pub flake: String,
pub network: Option<String>,
pub nvidia_gpus: Option<Vec<u64>>,
}Fields§
§flake: String§network: Option<String>§nvidia_gpus: Option<Vec<u64>>Trait Implementations§
Source§impl Clone for ContainerSettings
impl Clone for ContainerSettings
Source§fn clone(&self) -> ContainerSettings
fn clone(&self) -> ContainerSettings
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 ContainerSettings
impl Debug for ContainerSettings
Source§impl<'de> Deserialize<'de> for ContainerSettings
impl<'de> Deserialize<'de> for ContainerSettings
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 ContainerSettings
impl PartialEq for ContainerSettings
Source§fn eq(&self, other: &ContainerSettings) -> bool
fn eq(&self, other: &ContainerSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContainerSettings
impl Serialize for ContainerSettings
impl StructuralPartialEq for ContainerSettings
Auto Trait Implementations§
impl Freeze for ContainerSettings
impl RefUnwindSafe for ContainerSettings
impl Send for ContainerSettings
impl Sync for ContainerSettings
impl Unpin for ContainerSettings
impl UnsafeUnpin for ContainerSettings
impl UnwindSafe for ContainerSettings
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