pub struct NullableCodespaceMachine {
pub name: String,
pub display_name: String,
pub operating_system: String,
pub storage_in_bytes: i32,
pub memory_in_bytes: i32,
pub cpus: i32,
pub prebuild_availability: Option<PrebuildAvailability>,
}Expand description
NullableCodespaceMachine : A description of the machine powering a codespace.
Fields§
§name: StringThe name of the machine.
display_name: StringThe display name of the machine includes cores, memory, and storage.
operating_system: StringThe operating system of the machine.
storage_in_bytes: i32How much storage is available to the codespace.
memory_in_bytes: i32How much memory is available to the codespace.
cpus: i32How many cores are available to the codespace.
prebuild_availability: Option<PrebuildAvailability>Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be "null" if prebuilds are not supported or prebuild availability could not be determined. Value will be "none" if no prebuild is available. Latest values "ready" and "in_progress" indicate the prebuild availability status.
Implementations§
Trait Implementations§
Source§impl Clone for NullableCodespaceMachine
impl Clone for NullableCodespaceMachine
Source§fn clone(&self) -> NullableCodespaceMachine
fn clone(&self) -> NullableCodespaceMachine
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NullableCodespaceMachine
impl Debug for NullableCodespaceMachine
Source§impl Default for NullableCodespaceMachine
impl Default for NullableCodespaceMachine
Source§fn default() -> NullableCodespaceMachine
fn default() -> NullableCodespaceMachine
Source§impl<'de> Deserialize<'de> for NullableCodespaceMachine
impl<'de> Deserialize<'de> for NullableCodespaceMachine
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>,
Source§impl PartialEq for NullableCodespaceMachine
impl PartialEq for NullableCodespaceMachine
Source§fn eq(&self, other: &NullableCodespaceMachine) -> bool
fn eq(&self, other: &NullableCodespaceMachine) -> bool
self and other values to be equal, and is used by ==.