pub enum DetailEvent {
Upsert {
record: DetailRecord,
},
SetExpanded {
id: String,
expanded: bool,
},
}Expand description
The complete event vocabulary for detail state. Events are pure data and can be persisted beside the normalized agent event stream.
Variants§
Trait Implementations§
Source§impl Clone for DetailEvent
impl Clone for DetailEvent
Source§fn clone(&self) -> DetailEvent
fn clone(&self) -> DetailEvent
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 DetailEvent
impl Debug for DetailEvent
Source§impl<'de> Deserialize<'de> for DetailEvent
impl<'de> Deserialize<'de> for DetailEvent
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 DetailEvent
Source§impl PartialEq for DetailEvent
impl PartialEq for DetailEvent
Source§impl Serialize for DetailEvent
impl Serialize for DetailEvent
impl StructuralPartialEq for DetailEvent
Auto Trait Implementations§
impl Freeze for DetailEvent
impl RefUnwindSafe for DetailEvent
impl Send for DetailEvent
impl Sync for DetailEvent
impl Unpin for DetailEvent
impl UnsafeUnpin for DetailEvent
impl UnwindSafe for DetailEvent
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