pub struct Upstream {
pub event_types: Vec<String>,
pub base_fields: Vec<Field>,
pub events: Vec<UpstreamEvent>,
pub notes: Vec<String>,
}Expand description
The whole upstream event surface.
Fields§
§event_types: Vec<String>EventType values in declaration order.
base_fields: Vec<Field>Fields every event inherits from BaseEventSchema (minus type).
events: Vec<UpstreamEvent>One entry per EventType value, in the same order.
notes: Vec<String>Readings that came from somewhere other than a Zod chain, one line each and never repeated. A reviewer accepting a refresh should see how an answer was arrived at when the file itself did not spell it out.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Upstream
impl RefUnwindSafe for Upstream
impl Send for Upstream
impl Sync for Upstream
impl Unpin for Upstream
impl UnsafeUnpin for Upstream
impl UnwindSafe for Upstream
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