#[non_exhaustive]pub struct Case {
pub id: String,
pub version: String,
pub title: String,
pub description: String,
pub owner: String,
pub status: String,
pub severity: String,
pub tags: Vec<String>,
pub created_at: String,
pub updated_at: Option<String>,
pub total_comments: u64,
pub extra: Map<String, Value>,
}Expand description
A case returned by Kibana. Use its ID and current version to build a CasePatch.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§version: StringOpaque concurrency token required by CasePatch.
title: String§description: String§owner: String§status: String§severity: String§created_at: String§updated_at: Option<String>§total_comments: 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
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