#[non_exhaustive]pub struct IdeConfigurationBuilder { /* private fields */ }
Expand description
A builder for IdeConfiguration
.
Implementations§
source§impl IdeConfigurationBuilder
impl IdeConfigurationBuilder
sourcepub fn runtime(self, input: impl Into<String>) -> Self
pub fn runtime(self, input: impl Into<String>) -> Self
A link to the IDE runtime image.
This parameter is not required for VSCode
.
sourcepub fn set_runtime(self, input: Option<String>) -> Self
pub fn set_runtime(self, input: Option<String>) -> Self
A link to the IDE runtime image.
This parameter is not required for VSCode
.
sourcepub fn get_runtime(&self) -> &Option<String>
pub fn get_runtime(&self) -> &Option<String>
A link to the IDE runtime image.
This parameter is not required for VSCode
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the IDE. Valid values include Cloud9
, IntelliJ
, PyCharm
, GoLand
, and VSCode
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the IDE. Valid values include Cloud9
, IntelliJ
, PyCharm
, GoLand
, and VSCode
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the IDE. Valid values include Cloud9
, IntelliJ
, PyCharm
, GoLand
, and VSCode
.
sourcepub fn build(self) -> IdeConfiguration
pub fn build(self) -> IdeConfiguration
Consumes the builder and constructs a IdeConfiguration
.
Trait Implementations§
source§impl Clone for IdeConfigurationBuilder
impl Clone for IdeConfigurationBuilder
source§fn clone(&self) -> IdeConfigurationBuilder
fn clone(&self) -> IdeConfigurationBuilder
Returns a copy 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 IdeConfigurationBuilder
impl Debug for IdeConfigurationBuilder
source§impl Default for IdeConfigurationBuilder
impl Default for IdeConfigurationBuilder
source§fn default() -> IdeConfigurationBuilder
fn default() -> IdeConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IdeConfigurationBuilder
impl PartialEq for IdeConfigurationBuilder
source§fn eq(&self, other: &IdeConfigurationBuilder) -> bool
fn eq(&self, other: &IdeConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IdeConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IdeConfigurationBuilder
impl Send for IdeConfigurationBuilder
impl Sync for IdeConfigurationBuilder
impl Unpin for IdeConfigurationBuilder
impl UnwindSafe for IdeConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.