pub enum ObservationEvent {
Text {
text: String,
},
Artifact {
capture_id: String,
kind: String,
summary: String,
},
}Expand description
The tax-3 channel: observations become events, big payloads stay behind a
reference (D9: no Error variant — refusals and interceptions live in
ActionOutcome).
Variants§
Trait Implementations§
Source§impl Clone for ObservationEvent
impl Clone for ObservationEvent
Source§impl Debug for ObservationEvent
impl Debug for ObservationEvent
Source§impl<'de> Deserialize<'de> for ObservationEvent
impl<'de> Deserialize<'de> for ObservationEvent
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 ObservationEvent
impl PartialEq for ObservationEvent
Source§impl Serialize for ObservationEvent
impl Serialize for ObservationEvent
impl StructuralPartialEq for ObservationEvent
Auto Trait Implementations§
impl Freeze for ObservationEvent
impl RefUnwindSafe for ObservationEvent
impl Send for ObservationEvent
impl Sync for ObservationEvent
impl Unpin for ObservationEvent
impl UnsafeUnpin for ObservationEvent
impl UnwindSafe for ObservationEvent
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