pub struct EventTypeSpec {
pub name: String,
pub fields: Vec<FieldSpec>,
pub tags: BTreeMap<String, String>,
}Fields§
§name: String§fields: Vec<FieldSpec>key -> field - TagMapping‘s own two-part shape. A BTreeMap,
not an ordered map: unlike fields, tag order has no effect on
matching_events’ own union semantics (skilj-tui’s own
references/dcb-tags.md in the skilj-event-modeling skill has
the full explanation of what a tag actually does) - alphabetical
is simply the cheapest deterministic order to emit.
Trait Implementations§
Source§impl Debug for EventTypeSpec
impl Debug for EventTypeSpec
Source§impl<'de> Deserialize<'de> for EventTypeSpec
impl<'de> Deserialize<'de> for EventTypeSpec
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
Auto Trait Implementations§
impl Freeze for EventTypeSpec
impl RefUnwindSafe for EventTypeSpec
impl Send for EventTypeSpec
impl Sync for EventTypeSpec
impl Unpin for EventTypeSpec
impl UnsafeUnpin for EventTypeSpec
impl UnwindSafe for EventTypeSpec
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