pub struct CodingStarted {
pub branch: Option<String>,
pub repo: Option<String>,
pub routed: Option<bool>,
pub session_id: Option<String>,
pub target_id: Option<String>,
}Fields§
§branch: Option<String>Branch is the ref the run will push its work to, and the ONLY ref it is permitted to write. It exists before the work does, so it is safe to tell somebody where to look while the run is still going.
repo: Option<String>Repo is the repository the run was admitted against, echoed back as the engine resolved it.
routed: Option<bool>Routed says the run went to one of the org’s own registered machines rather than to a sandbox in our cluster. False is the ordinary case.
session_id: Option<String>SessionID is the run’s handle: its durable record, and the id its live progress streams under at /v1/agents/sessions/{sessionId}/stream. Every later question about this run is asked with it.
target_id: Option<String>TargetID names that machine when Routed is true, and is empty otherwise.
Implementations§
Source§impl CodingStarted
impl CodingStarted
pub fn new() -> CodingStarted
Trait Implementations§
Source§impl Clone for CodingStarted
impl Clone for CodingStarted
Source§fn clone(&self) -> CodingStarted
fn clone(&self) -> CodingStarted
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 CodingStarted
impl Debug for CodingStarted
Source§impl Default for CodingStarted
impl Default for CodingStarted
Source§fn default() -> CodingStarted
fn default() -> CodingStarted
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodingStarted
impl<'de> Deserialize<'de> for CodingStarted
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 CodingStarted
impl PartialEq for CodingStarted
Source§impl Serialize for CodingStarted
impl Serialize for CodingStarted
impl StructuralPartialEq for CodingStarted
Auto Trait Implementations§
impl Freeze for CodingStarted
impl RefUnwindSafe for CodingStarted
impl Send for CodingStarted
impl Sync for CodingStarted
impl Unpin for CodingStarted
impl UnsafeUnpin for CodingStarted
impl UnwindSafe for CodingStarted
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