pub struct IssueStateSpan {
pub id: Option<String>,
pub state_id: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub ended_at: Option<DateTime<Utc>>,
pub state: Option<Box<WorkflowState>>,
}Expand description
A continuous period of time during which an issue remained in a specific workflow state.
Fields§
§id: Option<String>The unique identifier of the state span.
state_id: Option<String>The workflow state identifier for this span.
started_at: Option<DateTime<Utc>>The timestamp when the issue entered this state.
ended_at: Option<DateTime<Utc>>The timestamp when the issue left this state. Null if the issue is currently in this state.
state: Option<Box<WorkflowState>>The workflow state for this span.
Trait Implementations§
Source§impl Clone for IssueStateSpan
impl Clone for IssueStateSpan
Source§fn clone(&self) -> IssueStateSpan
fn clone(&self) -> IssueStateSpan
Returns a duplicate of the value. Read more
1.0.0 · 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 IssueStateSpan
impl Debug for IssueStateSpan
Source§impl Default for IssueStateSpan
impl Default for IssueStateSpan
Source§fn default() -> IssueStateSpan
fn default() -> IssueStateSpan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IssueStateSpanwhere
IssueStateSpan: Default,
impl<'de> Deserialize<'de> for IssueStateSpanwhere
IssueStateSpan: Default,
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 GraphQLFields for IssueStateSpan
impl GraphQLFields for IssueStateSpan
Auto Trait Implementations§
impl Freeze for IssueStateSpan
impl RefUnwindSafe for IssueStateSpan
impl Send for IssueStateSpan
impl Sync for IssueStateSpan
impl Unpin for IssueStateSpan
impl UnwindSafe for IssueStateSpan
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