pub struct HuddleInvocation {
pub id: String,
pub subject_id: String,
pub kind: HuddleInvocationKind,
pub urgency: HuddleUrgency,
pub triggers: Vec<String>,
pub rationale: String,
pub correlation_id: String,
pub reviewer: String,
pub domain_context: Value,
}Expand description
Domain-agnostic huddle invocation envelope.
subject_id identifies whatever the huddle is about (a story, a plan,
a decision, …). triggers is a free-form list of human-readable reason
labels. domain_context carries optional structured domain data (e.g.
strongly typed trigger enums serialised to JSON).
Fields§
§id: String§subject_id: String§kind: HuddleInvocationKind§urgency: HuddleUrgency§triggers: Vec<String>§rationale: String§correlation_id: String§reviewer: String§domain_context: ValueImplementations§
Source§impl HuddleInvocation
impl HuddleInvocation
pub fn new( subject_id: impl Into<String>, kind: HuddleInvocationKind, urgency: HuddleUrgency, correlation_id: impl Into<String>, ) -> Self
pub fn with_id(self, id: impl Into<String>) -> Self
pub fn with_triggers(self, triggers: Vec<String>) -> Self
pub fn with_rationale(self, rationale: impl Into<String>) -> Self
pub fn with_reviewer(self, reviewer: impl Into<String>) -> Self
pub fn with_domain_context(self, context: Value) -> Self
Trait Implementations§
Source§impl Clone for HuddleInvocation
impl Clone for HuddleInvocation
Source§fn clone(&self) -> HuddleInvocation
fn clone(&self) -> HuddleInvocation
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 HuddleInvocation
impl Debug for HuddleInvocation
Source§impl<'de> Deserialize<'de> for HuddleInvocation
impl<'de> Deserialize<'de> for HuddleInvocation
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 PartialEq for HuddleInvocation
impl PartialEq for HuddleInvocation
Source§fn eq(&self, other: &HuddleInvocation) -> bool
fn eq(&self, other: &HuddleInvocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HuddleInvocation
impl Serialize for HuddleInvocation
impl Eq for HuddleInvocation
impl StructuralPartialEq for HuddleInvocation
Auto Trait Implementations§
impl Freeze for HuddleInvocation
impl RefUnwindSafe for HuddleInvocation
impl Send for HuddleInvocation
impl Sync for HuddleInvocation
impl Unpin for HuddleInvocation
impl UnsafeUnpin for HuddleInvocation
impl UnwindSafe for HuddleInvocation
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
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more