pub struct TaskWorkspace {
pub id: String,
pub task_id: String,
pub attempt_id: String,
pub backend_id: String,
pub policy: String,
pub root_path: String,
pub branch_name: Option<String>,
pub base_ref: Option<String>,
pub head_ref: Option<String>,
pub status: String,
pub created_at: String,
pub released_at: Option<String>,
}Expand description
Realized workspace for one attempt. Workspaces are preserved after execution until explicitly released so downstream integration can consume them.
Fields§
§id: String§task_id: String§attempt_id: String§backend_id: String§policy: String§root_path: String§branch_name: Option<String>§base_ref: Option<String>§head_ref: Option<String>§status: String“active”, “preserved”, “released”, or “failed”
created_at: String§released_at: Option<String>Trait Implementations§
Source§impl Clone for TaskWorkspace
impl Clone for TaskWorkspace
Source§impl Debug for TaskWorkspace
impl Debug for TaskWorkspace
Source§impl<'de> Deserialize<'de> for TaskWorkspace
impl<'de> Deserialize<'de> for TaskWorkspace
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 TaskWorkspace
Source§impl PartialEq for TaskWorkspace
impl PartialEq for TaskWorkspace
Source§impl Serialize for TaskWorkspace
impl Serialize for TaskWorkspace
impl StructuralPartialEq for TaskWorkspace
Auto Trait Implementations§
impl Forget for TaskWorkspace
impl Freeze for TaskWorkspace
impl Move for TaskWorkspace
impl RefUnwindSafe for TaskWorkspace
impl Send for TaskWorkspacewhere
RawVecInner: Send,
impl Sync for TaskWorkspacewhere
RawVecInner: Sync,
impl Unpin for TaskWorkspace
impl UnsafeUnpin for TaskWorkspace
impl UnwindSafe for TaskWorkspacewhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more