pub struct NullableCodespaceMachine {
pub name: Option<String>,
pub display_name: Option<String>,
pub operating_system: Option<String>,
pub storage_in_bytes: Option<i64>,
pub memory_in_bytes: Option<i64>,
pub cpus: Option<i64>,
pub prebuild_availability: Option<String>,
}Expand description
A description of the machine powering a codespace.
Fields§
§name: Option<String>The name of the machine.
display_name: Option<String>The display name of the machine includes cores, memory, and storage.
operating_system: Option<String>The operating system of the machine.
storage_in_bytes: Option<i64>How much storage is available to the codespace.
memory_in_bytes: Option<i64>How much memory is available to the codespace.
cpus: Option<i64>How many cores are available to the codespace.
prebuild_availability: Option<String>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.
Trait Implementations§
Source§impl Clone for NullableCodespaceMachine
impl Clone for NullableCodespaceMachine
Source§fn clone(&self) -> NullableCodespaceMachine
fn clone(&self) -> NullableCodespaceMachine
Returns a duplicate 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 NullableCodespaceMachine
impl Debug for NullableCodespaceMachine
Source§impl Default for NullableCodespaceMachine
impl Default for NullableCodespaceMachine
Source§fn default() -> NullableCodespaceMachine
fn default() -> NullableCodespaceMachine
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NullableCodespaceMachine
impl PartialEq for NullableCodespaceMachine
Source§impl Serialize for NullableCodespaceMachine
impl Serialize for NullableCodespaceMachine
impl StructuralPartialEq for NullableCodespaceMachine
Auto Trait Implementations§
impl Freeze for NullableCodespaceMachine
impl RefUnwindSafe for NullableCodespaceMachine
impl Send for NullableCodespaceMachine
impl Sync for NullableCodespaceMachine
impl Unpin for NullableCodespaceMachine
impl UnwindSafe for NullableCodespaceMachine
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