pub struct SourceEmit {
pub signal: String,
pub signal_span: SourceSpan,
pub from: Option<Ident>,
pub fields: Vec<SourceEmitField>,
pub span: SourceSpan,
}Fields§
§signal: StringDotted lowercase signal name materialized by this source.
signal_span: SourceSpan§from: Option<Ident>S6: emit <signal> from <binding> [{ overrides }] — copy the
observation’s same-named fields, bounded to the signal’s declared
fields, with the block overriding (the record … from semantics).
fields: Vec<SourceEmitField>§span: SourceSpanTrait Implementations§
Source§impl Clone for SourceEmit
impl Clone for SourceEmit
Source§fn clone(&self) -> SourceEmit
fn clone(&self) -> SourceEmit
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 SourceEmit
impl Debug for SourceEmit
impl Eq for SourceEmit
Source§impl PartialEq for SourceEmit
impl PartialEq for SourceEmit
impl StructuralPartialEq for SourceEmit
Auto Trait Implementations§
impl Freeze for SourceEmit
impl RefUnwindSafe for SourceEmit
impl Send for SourceEmit
impl Sync for SourceEmit
impl Unpin for SourceEmit
impl UnsafeUnpin for SourceEmit
impl UnwindSafe for SourceEmit
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