pub struct WorkspacePin {
pub provider: String,
pub template: String,
pub version: String,
}Expand description
The workspace provider identity pinned at plan approval (design D-B,
ticket workspace-provider-pin-at-approval) — the consent artifact naming
the environment the operator approved running against. Free-form strings
on purpose: the shape must not assume a provider kind. Per-kind meanings:
local-worktree/container:template= the isolation mode ("worktree"|"checkout"— source isolation, not a runnable workspace, D-H),version= the workspace contract’s schemaVersion when a contract exists, else"none".remote(ticketworkspace-remote-coder-provider):template= the configured substrate template/image id (as configured at approval — the pin stays pure, no substrate contact),version= the adapter version string ("coder-v1").
Fields§
§provider: String§template: String§version: StringTrait Implementations§
Source§impl Clone for WorkspacePin
impl Clone for WorkspacePin
Source§fn clone(&self) -> WorkspacePin
fn clone(&self) -> WorkspacePin
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 WorkspacePin
impl Debug for WorkspacePin
Source§impl Default for WorkspacePin
impl Default for WorkspacePin
Source§fn default() -> WorkspacePin
fn default() -> WorkspacePin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspacePinwhere
WorkspacePin: Default,
impl<'de> Deserialize<'de> for WorkspacePinwhere
WorkspacePin: Default,
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
impl Eq for WorkspacePin
Source§impl PartialEq for WorkspacePin
impl PartialEq for WorkspacePin
Source§impl Serialize for WorkspacePin
impl Serialize for WorkspacePin
impl StructuralPartialEq for WorkspacePin
Auto Trait Implementations§
impl Freeze for WorkspacePin
impl RefUnwindSafe for WorkspacePin
impl Send for WorkspacePin
impl Sync for WorkspacePin
impl Unpin for WorkspacePin
impl UnsafeUnpin for WorkspacePin
impl UnwindSafe for WorkspacePin
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