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§fn clone(&self) -> ObservationEvent
fn clone(&self) -> ObservationEvent
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 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<ObservationEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObservationEvent, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ObservationEvent
Auto Trait Implementations§
impl Forget for ObservationEvent
impl Freeze for ObservationEvent
impl Move 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