pub struct WorkflowState {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub name: Option<String>,
pub color: Option<String>,
pub description: Option<String>,
pub position: Option<f64>,
pub type: Option<String>,
pub team: Option<Box<Team>>,
pub inherited_from: Option<Box<WorkflowState>>,
pub issues: Option<Box<IssueConnection>>,
}Expand description
A state in a team workflow.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
name: Option<String>The state’s name.
color: Option<String>The state’s UI color as a HEX string.
description: Option<String>Description of the state.
position: Option<f64>The position of the state in the team flow.
type: Option<String>The type of the state. One of “triage”, “backlog”, “unstarted”, “started”, “completed”, “canceled”.
team: Option<Box<Team>>The team to which this state belongs to.
inherited_from: Option<Box<WorkflowState>>The state inherited from
issues: Option<Box<IssueConnection>>Issues belonging in this state.
Trait Implementations§
Source§impl Clone for WorkflowState
impl Clone for WorkflowState
Source§fn clone(&self) -> WorkflowState
fn clone(&self) -> WorkflowState
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 WorkflowState
impl Debug for WorkflowState
Source§impl Default for WorkflowState
impl Default for WorkflowState
Source§fn default() -> WorkflowState
fn default() -> WorkflowState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowStatewhere
WorkflowState: Default,
impl<'de> Deserialize<'de> for WorkflowStatewhere
WorkflowState: 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 WorkflowState
impl GraphQLFields for WorkflowState
Auto Trait Implementations§
impl Freeze for WorkflowState
impl RefUnwindSafe for WorkflowState
impl Send for WorkflowState
impl Sync for WorkflowState
impl Unpin for WorkflowState
impl UnwindSafe for WorkflowState
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