pub struct EventDecl {
pub name: String,
pub name_span: SourceSpan,
pub fields: Vec<ClassField>,
pub span: SourceSpan,
}Expand description
A typed external-signal declaration (signal deploy.finished { ... }):
the ingress manifest naming a dotted event and its payload schema
(spec/event-ingress.md).
Fields§
§name: StringDotted lowercase signal name (deploy.finished).
name_span: SourceSpan§fields: Vec<ClassField>§span: SourceSpanTrait Implementations§
impl Eq for EventDecl
impl StructuralPartialEq for EventDecl
Auto Trait Implementations§
impl Freeze for EventDecl
impl RefUnwindSafe for EventDecl
impl Send for EventDecl
impl Sync for EventDecl
impl Unpin for EventDecl
impl UnsafeUnpin for EventDecl
impl UnwindSafe for EventDecl
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