Skip to main content

systemprompt_identifiers/
trace.rs

1//! Distributed-tracing identifier with a `system` constant.
2//!
3//! Copyright (c) systemprompt.io — Business Source License 1.1.
4//! See <https://systemprompt.io> for licensing details.
5
6crate::define_id!(TraceId, generate, schema);
7
8impl TraceId {
9    pub fn system() -> Self {
10        Self("system".to_owned())
11    }
12}