pub struct Case {
pub id: String,
pub version: String,
pub title: String,
pub status: String,
pub severity: Option<String>,
pub tags: Vec<String>,
pub description: Option<String>,
pub assignees: Vec<Value>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub total_comment: Option<u64>,
pub extra: Map<String, Value>,
}Expand description
A case as the API returns it. The four identity/workflow fields are
required (fail-closed); everything else is optional or flattened into
extra so the full server object survives a round trip to render.
Fields§
§id: String§version: String§title: String§status: String§severity: Option<String>§description: Option<String>§assignees: Vec<Value>§created_at: Option<String>§updated_at: Option<String>§total_comment: Option<u64>§extra: Map<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Case
impl<'de> Deserialize<'de> for Case
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 StructuralPartialEq for Case
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Case
impl UnwindSafe for Case
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