pub struct CheClusterDevEnvironmentsDefaultNamespace {
pub auto_provision: Option<bool>,
pub template: Option<String>,
}Expand description
User’s default namespace.
Fields§
§auto_provision: Option<bool>Indicates if is allowed to automatically create a user namespace. If it set to false, then user namespace must be pre-created by a cluster administrator.
template: Option<String>If you don’t create the user namespaces in advance, this field defines the Kubernetes namespace created when you start your first workspace.
You can use <username> and <userid> placeholders, such as che-workspace-
Trait Implementations§
Source§impl Clone for CheClusterDevEnvironmentsDefaultNamespace
impl Clone for CheClusterDevEnvironmentsDefaultNamespace
Source§fn clone(&self) -> CheClusterDevEnvironmentsDefaultNamespace
fn clone(&self) -> CheClusterDevEnvironmentsDefaultNamespace
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 CheClusterDevEnvironmentsDefaultNamespace
impl Default for CheClusterDevEnvironmentsDefaultNamespace
Source§fn default() -> CheClusterDevEnvironmentsDefaultNamespace
fn default() -> CheClusterDevEnvironmentsDefaultNamespace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterDevEnvironmentsDefaultNamespace
impl<'de> Deserialize<'de> for CheClusterDevEnvironmentsDefaultNamespace
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 CheClusterDevEnvironmentsDefaultNamespace
impl PartialEq for CheClusterDevEnvironmentsDefaultNamespace
Source§fn eq(&self, other: &CheClusterDevEnvironmentsDefaultNamespace) -> bool
fn eq(&self, other: &CheClusterDevEnvironmentsDefaultNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterDevEnvironmentsDefaultNamespace
Auto Trait Implementations§
impl Freeze for CheClusterDevEnvironmentsDefaultNamespace
impl RefUnwindSafe for CheClusterDevEnvironmentsDefaultNamespace
impl Send for CheClusterDevEnvironmentsDefaultNamespace
impl Sync for CheClusterDevEnvironmentsDefaultNamespace
impl Unpin for CheClusterDevEnvironmentsDefaultNamespace
impl UnwindSafe for CheClusterDevEnvironmentsDefaultNamespace
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