Struct cosmic_space::log::LogSpan
source · pub struct LogSpan {
pub id: TrailSpanId,
pub point: Point,
pub mark: Point,
pub action: Option<CamelCase>,
pub parent: Option<Uuid>,
pub attributes: HashMap<String, String>,
pub entry_timestamp: Timestamp,
}Fields
id: TrailSpanIdpoint: Pointmark: Pointaction: Option<CamelCase>parent: Option<Uuid>attributes: HashMap<String, String>entry_timestamp: TimestampImplementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LogSpan
impl<'de> Deserialize<'de> for LogSpan
sourcefn 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
sourceimpl From<LogSpan> for LogSubstance
impl From<LogSpan> for LogSubstance
sourcefn from(f: LogSpan) -> LogSubstance
fn from(f: LogSpan) -> LogSubstance
Converts to this type from the input type.
sourceimpl ToSubstance<LogSpan> for LogSubstance
impl ToSubstance<LogSpan> for LogSubstance
fn to_substance(self) -> Result<LogSpan, SpaceErr>
fn to_substance_ref(&self) -> Result<&LogSpan, SpaceErr>
sourceimpl TryInto<LogSpan> for LogSubstance
impl TryInto<LogSpan> for LogSubstance
impl Eq for LogSpan
impl StructuralEq for LogSpan
impl StructuralPartialEq for LogSpan
Auto Trait Implementations
impl RefUnwindSafe for LogSpan
impl Send for LogSpan
impl Sync for LogSpan
impl Unpin for LogSpan
impl UnwindSafe for LogSpan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more