pub struct ActionsHostedRunnerMachineSpec {
pub id: Option<String>,
pub cpu_cores: Option<i64>,
pub memory_gb: Option<i64>,
pub storage_gb: Option<i64>,
}Expand description
Provides details of a particular machine spec.
Fields§
§id: Option<String>The ID used for the size parameter when creating a new runner.
cpu_cores: Option<i64>The number of cores.
memory_gb: Option<i64>The available RAM for the machine spec.
storage_gb: Option<i64>The available SSD storage for the machine spec.
Trait Implementations§
Source§impl Clone for ActionsHostedRunnerMachineSpec
impl Clone for ActionsHostedRunnerMachineSpec
Source§fn clone(&self) -> ActionsHostedRunnerMachineSpec
fn clone(&self) -> ActionsHostedRunnerMachineSpec
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 Default for ActionsHostedRunnerMachineSpec
impl Default for ActionsHostedRunnerMachineSpec
Source§fn default() -> ActionsHostedRunnerMachineSpec
fn default() -> ActionsHostedRunnerMachineSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionsHostedRunnerMachineSpec
impl<'de> Deserialize<'de> for ActionsHostedRunnerMachineSpec
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 ActionsHostedRunnerMachineSpec
impl PartialEq for ActionsHostedRunnerMachineSpec
Source§fn eq(&self, other: &ActionsHostedRunnerMachineSpec) -> bool
fn eq(&self, other: &ActionsHostedRunnerMachineSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActionsHostedRunnerMachineSpec
Auto Trait Implementations§
impl Freeze for ActionsHostedRunnerMachineSpec
impl RefUnwindSafe for ActionsHostedRunnerMachineSpec
impl Send for ActionsHostedRunnerMachineSpec
impl Sync for ActionsHostedRunnerMachineSpec
impl Unpin for ActionsHostedRunnerMachineSpec
impl UnwindSafe for ActionsHostedRunnerMachineSpec
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