pub struct SignalInput {Show 15 fields
pub source: String,
pub service: Option<String>,
pub component: Option<String>,
pub event_type: String,
pub severity: Severity,
pub title: String,
pub message: Option<String>,
pub environment: Option<String>,
pub team: Option<String>,
pub run_id: Option<String>,
pub correlation_id: Option<String>,
pub trace_id: Option<String>,
pub log_url: Option<String>,
pub metadata: Option<Value>,
pub dedup_key: Option<String>,
}Expand description
Builder input — what callers actually construct. Notably missing
id and timestamp: those are not caller-settable.
Fields§
§source: String§service: Option<String>§component: Option<String>§event_type: String§severity: Severity§title: String§message: Option<String>§environment: Option<String>§team: Option<String>§run_id: Option<String>§correlation_id: Option<String>§trace_id: Option<String>§log_url: Option<String>§metadata: Option<Value>§dedup_key: Option<String>Caller may supply an explicit dedup key; if absent, core computes one from (source, event_type, title, environment).
Trait Implementations§
Source§impl Clone for SignalInput
impl Clone for SignalInput
Source§fn clone(&self) -> SignalInput
fn clone(&self) -> SignalInput
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 SignalInput
impl Debug for SignalInput
Source§impl Default for SignalInput
impl Default for SignalInput
Source§fn default() -> SignalInput
fn default() -> SignalInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SignalInput
impl<'de> Deserialize<'de> for SignalInput
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 SignalInput
impl RefUnwindSafe for SignalInput
impl Send for SignalInput
impl Sync for SignalInput
impl Unpin for SignalInput
impl UnsafeUnpin for SignalInput
impl UnwindSafe for SignalInput
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