pub struct InterventionView {
pub intervention_id: String,
pub kind: String,
pub requested_by: String,
pub target_role_ids: Vec<String>,
pub request: String,
pub open: bool,
pub responses: Vec<InterventionResponseView>,
pub created_at_millis: i64,
pub closed_at_millis: Option<i64>,
}Expand description
One intervention — a question, investigation or proposed action put to the table — as a consumer sees it.
The table’s conversational unit. A projection, never the entity: responses
come with who answered and when, the request with who asked, and open
with whether the table still owes an answer.
Fields§
§intervention_id: String§kind: Stringopinion, investigation or action.
requested_by: String§target_role_ids: Vec<String>The seats asked. Empty means the whole table.
request: String§open: bool§responses: Vec<InterventionResponseView>§created_at_millis: i64§closed_at_millis: Option<i64>Trait Implementations§
Source§impl Clone for InterventionView
impl Clone for InterventionView
Source§impl Debug for InterventionView
impl Debug for InterventionView
Source§impl<'de> Deserialize<'de> for InterventionView
impl<'de> Deserialize<'de> for InterventionView
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 Eq for InterventionView
Source§impl PartialEq for InterventionView
impl PartialEq for InterventionView
Source§impl Serialize for InterventionView
impl Serialize for InterventionView
impl StructuralPartialEq for InterventionView
Auto Trait Implementations§
impl Freeze for InterventionView
impl RefUnwindSafe for InterventionView
impl Send for InterventionView
impl Sync for InterventionView
impl Unpin for InterventionView
impl UnsafeUnpin for InterventionView
impl UnwindSafe for InterventionView
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