pub struct PostCodespacesCreateWithPrForAuthenticatedUser {
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§
§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 PostCodespacesCreateWithPrForAuthenticatedUser
impl Clone for PostCodespacesCreateWithPrForAuthenticatedUser
Source§fn clone(&self) -> PostCodespacesCreateWithPrForAuthenticatedUser
fn clone(&self) -> PostCodespacesCreateWithPrForAuthenticatedUser
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 PostCodespacesCreateWithPrForAuthenticatedUser
impl Default for PostCodespacesCreateWithPrForAuthenticatedUser
Source§fn default() -> PostCodespacesCreateWithPrForAuthenticatedUser
fn default() -> PostCodespacesCreateWithPrForAuthenticatedUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostCodespacesCreateWithPrForAuthenticatedUser
impl<'de> Deserialize<'de> for PostCodespacesCreateWithPrForAuthenticatedUser
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 PostCodespacesCreateWithPrForAuthenticatedUser
impl PartialEq for PostCodespacesCreateWithPrForAuthenticatedUser
Source§fn eq(&self, other: &PostCodespacesCreateWithPrForAuthenticatedUser) -> bool
fn eq(&self, other: &PostCodespacesCreateWithPrForAuthenticatedUser) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostCodespacesCreateWithPrForAuthenticatedUser
Auto Trait Implementations§
impl Freeze for PostCodespacesCreateWithPrForAuthenticatedUser
impl RefUnwindSafe for PostCodespacesCreateWithPrForAuthenticatedUser
impl Send for PostCodespacesCreateWithPrForAuthenticatedUser
impl Sync for PostCodespacesCreateWithPrForAuthenticatedUser
impl Unpin for PostCodespacesCreateWithPrForAuthenticatedUser
impl UnwindSafe for PostCodespacesCreateWithPrForAuthenticatedUser
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