pub struct HarnessRunIntentV1 {
pub node_id: HarnessSelectorV1,
pub workspace_id: HarnessSelectorV1,
pub worktree: HarnessWorktreeIntentV1,
pub provider_profile: HarnessSelectorV1,
pub mode: HarnessExecutionModeV1,
pub delivery_bundle: Option<HarnessSelectorV1>,
pub continuation: Option<HarnessSelectorV1>,
}Fields§
§node_id: HarnessSelectorV1§workspace_id: HarnessSelectorV1§worktree: HarnessWorktreeIntentV1§provider_profile: HarnessSelectorV1§mode: HarnessExecutionModeV1§delivery_bundle: Option<HarnessSelectorV1>§continuation: Option<HarnessSelectorV1>Implementations§
Source§impl HarnessRunIntentV1
impl HarnessRunIntentV1
pub fn validate(&self) -> Result<(), HarnessValidationError>
Source§impl HarnessRunIntentV1
impl HarnessRunIntentV1
Sourcepub fn continuation_source_run_id(
&self,
) -> Result<Option<HarnessRunId>, HarnessValidationError>
pub fn continuation_source_run_id( &self, ) -> Result<Option<HarnessRunId>, HarnessValidationError>
Resolves continuation only as an exact source HarnessRunId. It is never interpreted as a raw Node SpawnContextId.
Trait Implementations§
Source§impl Clone for HarnessRunIntentV1
impl Clone for HarnessRunIntentV1
Source§fn clone(&self) -> HarnessRunIntentV1
fn clone(&self) -> HarnessRunIntentV1
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 HarnessRunIntentV1
impl Debug for HarnessRunIntentV1
Source§impl<'de> Deserialize<'de> for HarnessRunIntentV1
impl<'de> Deserialize<'de> for HarnessRunIntentV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HarnessRunIntentV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HarnessRunIntentV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessRunIntentV1
Source§impl PartialEq for HarnessRunIntentV1
impl PartialEq for HarnessRunIntentV1
Source§impl Serialize for HarnessRunIntentV1
impl Serialize for HarnessRunIntentV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HarnessRunIntentV1
Auto Trait Implementations§
impl Freeze for HarnessRunIntentV1
impl RefUnwindSafe for HarnessRunIntentV1
impl Send for HarnessRunIntentV1
impl Sync for HarnessRunIntentV1
impl Unpin for HarnessRunIntentV1
impl UnsafeUnpin for HarnessRunIntentV1
impl UnwindSafe for HarnessRunIntentV1
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