pub struct AddWorkspaceBody {
pub name: String,
pub root: String,
pub config: WorkspaceConfig,
}Expand description
Body for POST /api/workspaces.
Fields§
§name: StringOperator-chosen short name.
root: StringLocalFleet checkout path. Ignored under k8s (sources come from config),
so k8s requests may omit it.
config: WorkspaceConfigBackend-neutral initial configuration. Local reads the flattened single-provider/env subset; k8s reads sources/providers/etc.
Trait Implementations§
Source§impl Clone for AddWorkspaceBody
impl Clone for AddWorkspaceBody
Source§fn clone(&self) -> AddWorkspaceBody
fn clone(&self) -> AddWorkspaceBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddWorkspaceBody
impl Debug for AddWorkspaceBody
Source§impl Default for AddWorkspaceBody
impl Default for AddWorkspaceBody
Source§fn default() -> AddWorkspaceBody
fn default() -> AddWorkspaceBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddWorkspaceBody
impl<'de> Deserialize<'de> for AddWorkspaceBody
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 AddWorkspaceBody
impl PartialEq for AddWorkspaceBody
Source§fn eq(&self, other: &AddWorkspaceBody) -> bool
fn eq(&self, other: &AddWorkspaceBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddWorkspaceBody
impl Serialize for AddWorkspaceBody
impl Eq for AddWorkspaceBody
impl StructuralPartialEq for AddWorkspaceBody
Auto Trait Implementations§
impl Freeze for AddWorkspaceBody
impl RefUnwindSafe for AddWorkspaceBody
impl Send for AddWorkspaceBody
impl Sync for AddWorkspaceBody
impl Unpin for AddWorkspaceBody
impl UnsafeUnpin for AddWorkspaceBody
impl UnwindSafe for AddWorkspaceBody
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