pub struct RemoteWorkspace {
pub name: String,
pub id: String,
pub takeover: Option<String>,
pub previews: Vec<ProvisionedPreview>,
pub injected_env_names: Vec<String>,
pub poll: PollOutcome,
}Expand description
The remote provider’s handle state — everything readiness and
teardown need across the seam’s calls (the provider itself stays
stateless).
Fields§
§name: StringThe mission-owned workspace name (always known).
id: StringThe substrate workspace id — EMPTY when create failed (teardown then no-ops: nothing exists to release).
takeover: Option<String>The substrate’s takeover URL (SSH/web) as reported at create.
previews: Vec<ProvisionedPreview>Substrate URLs name-matched onto the contract’s previews[] —
recorded on workspace.provisioned.
injected_env_names: Vec<String>The secret NAMES the substrate was asked to inject (never values).
poll: PollOutcomeWhat the provision-time readiness poll concluded.
Trait Implementations§
Source§impl Clone for RemoteWorkspace
impl Clone for RemoteWorkspace
Source§fn clone(&self) -> RemoteWorkspace
fn clone(&self) -> RemoteWorkspace
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 moreAuto Trait Implementations§
impl Freeze for RemoteWorkspace
impl RefUnwindSafe for RemoteWorkspace
impl Send for RemoteWorkspace
impl Sync for RemoteWorkspace
impl Unpin for RemoteWorkspace
impl UnsafeUnpin for RemoteWorkspace
impl UnwindSafe for RemoteWorkspace
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