pub struct CompletionRunSnapshot {
pub id: String,
pub status: Option<RunStatus>,
pub pr_url: Option<String>,
pub pr_state: Option<String>,
pub pr_head: Option<String>,
pub branches: Vec<String>,
pub error: Option<String>,
}Expand description
Run and publication evidence observed when a task decision was made.
Fields§
§id: StringRetained run identifier.
status: Option<RunStatus>Unknown when the retained record could not be read.
pr_url: Option<String>Recorded public pull request.
pr_state: Option<String>Recorded or freshly observed public lifecycle.
pr_head: Option<String>Last published or merged public commit.
branches: Vec<String>Retained candidate and public branch names; never deleted by a task decision.
error: Option<String>Why a run snapshot was unavailable.
Trait Implementations§
Source§impl Clone for CompletionRunSnapshot
impl Clone for CompletionRunSnapshot
Source§impl Debug for CompletionRunSnapshot
impl Debug for CompletionRunSnapshot
Source§impl<'de> Deserialize<'de> for CompletionRunSnapshot
impl<'de> Deserialize<'de> for CompletionRunSnapshot
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 CompletionRunSnapshot
Source§impl PartialEq for CompletionRunSnapshot
impl PartialEq for CompletionRunSnapshot
Source§impl Serialize for CompletionRunSnapshot
impl Serialize for CompletionRunSnapshot
impl StructuralPartialEq for CompletionRunSnapshot
Auto Trait Implementations§
impl Forget for CompletionRunSnapshot
impl Freeze for CompletionRunSnapshot
impl Move for CompletionRunSnapshot
impl RefUnwindSafe for CompletionRunSnapshot
impl Send for CompletionRunSnapshot
impl Sync for CompletionRunSnapshot
impl Unpin for CompletionRunSnapshot
impl UnsafeUnpin for CompletionRunSnapshot
impl UnwindSafe for CompletionRunSnapshot
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<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