pub struct PostCodespacesCreateWithRepoForAuthenticatedUser {
pub git_ref: Option<String>,
pub location: Option<String>,
pub geo: Option<String>,
pub client_ip: Option<String>,
pub machine: Option<String>,
pub devcontainer_path: Option<String>,
pub multi_repo_permissions_opt_out: Option<bool>,
pub working_directory: Option<String>,
pub idle_timeout_minutes: Option<i64>,
pub display_name: Option<String>,
pub retention_period_minutes: Option<i64>,
}Fields§
§git_ref: Option<String>Git ref (typically a branch name) for this codespace
location: Option<String>The requested location for a new codespace. Best efforts are made to respect this upon creation. Assigned by IP if not provided.
geo: Option<String>The geographic area for this codespace. If not specified, the value is assigned by IP. This property replaces location, which is closing down.
client_ip: Option<String>IP for location auto-detection when proxying a request
machine: Option<String>Machine type to use for this codespace
devcontainer_path: Option<String>Path to devcontainer.json config to use for this codespace
multi_repo_permissions_opt_out: Option<bool>Whether to authorize requested permissions from devcontainer.json
working_directory: Option<String>Working directory for this codespace
idle_timeout_minutes: Option<i64>Time in minutes before codespace stops from inactivity
display_name: Option<String>Display name for this codespace
retention_period_minutes: Option<i64>Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).
Trait Implementations§
Source§impl Clone for PostCodespacesCreateWithRepoForAuthenticatedUser
impl Clone for PostCodespacesCreateWithRepoForAuthenticatedUser
Source§fn clone(&self) -> PostCodespacesCreateWithRepoForAuthenticatedUser
fn clone(&self) -> PostCodespacesCreateWithRepoForAuthenticatedUser
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PostCodespacesCreateWithRepoForAuthenticatedUser
impl Default for PostCodespacesCreateWithRepoForAuthenticatedUser
Source§fn default() -> PostCodespacesCreateWithRepoForAuthenticatedUser
fn default() -> PostCodespacesCreateWithRepoForAuthenticatedUser
Source§impl<'de> Deserialize<'de> for PostCodespacesCreateWithRepoForAuthenticatedUser
impl<'de> Deserialize<'de> for PostCodespacesCreateWithRepoForAuthenticatedUser
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 PostCodespacesCreateWithRepoForAuthenticatedUser
impl PartialEq for PostCodespacesCreateWithRepoForAuthenticatedUser
Source§fn eq(&self, other: &PostCodespacesCreateWithRepoForAuthenticatedUser) -> bool
fn eq(&self, other: &PostCodespacesCreateWithRepoForAuthenticatedUser) -> bool
self and other values to be equal, and is used by ==.