pub struct Discussion {Show 13 fields
pub schema_version: u32,
pub discussion_id: DiscussionId,
pub run_id: RunId,
pub node_id: NodeId,
pub opened_at: DateTime<Utc>,
pub severity: String,
pub topic: String,
pub context: Option<String>,
pub options: Vec<String>,
pub status: DiscussionStatus,
pub resolution: Option<String>,
pub note: Option<String>,
pub resolved_at: Option<DateTime<Utc>>,
}Expand description
discussions/<discussion-id>.json (design.md §1.5).
Fields§
§schema_version: u32State-schema version this file was written with.
discussion_id: DiscussionIdUnique discussion identifier. Validated on read; this is the
projection’s filename key, so it can never name a path outside
discussions/.
run_id: RunIdRun this discussion belongs to. Validated on read.
node_id: NodeIdNode that opened the discussion. Validated on read.
opened_at: DateTime<Utc>When the discussion was opened.
severity: StringSeverity tag (e.g. critical, normal) driving alerting.
topic: StringShort summary of what needs deciding.
context: Option<String>Optional longer context for the decision.
options: Vec<String>Candidate choices offered to the resolver.
status: DiscussionStatusOpen vs resolved.
resolution: Option<String>The chosen resolution, once resolved.
note: Option<String>Free-form note accompanying the resolution.
resolved_at: Option<DateTime<Utc>>When the discussion was resolved, if it has been.
Trait Implementations§
Source§impl Clone for Discussion
impl Clone for Discussion
Source§fn clone(&self) -> Discussion
fn clone(&self) -> Discussion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Discussion
impl Debug for Discussion
Source§impl<'de> Deserialize<'de> for Discussion
impl<'de> Deserialize<'de> for Discussion
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 Discussion
impl RefUnwindSafe for Discussion
impl Send for Discussion
impl Sync for Discussion
impl Unpin for Discussion
impl UnsafeUnpin for Discussion
impl UnwindSafe for Discussion
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