pub struct MessageOriginMetadata {
pub file: Option<String>,
pub line: Option<u32>,
pub component: Option<String>,
pub route: Option<String>,
}Expand description
Extraction origin attached to semantic message metadata.
Fields§
§file: Option<String>Source file path, when known.
line: Option<u32>Source line number, when known.
component: Option<String>Host component name, when known.
route: Option<String>Host route or page identifier, when known.
Trait Implementations§
Source§impl Clone for MessageOriginMetadata
impl Clone for MessageOriginMetadata
Source§fn clone(&self) -> MessageOriginMetadata
fn clone(&self) -> MessageOriginMetadata
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 MessageOriginMetadata
impl Debug for MessageOriginMetadata
Source§impl Default for MessageOriginMetadata
impl Default for MessageOriginMetadata
Source§fn default() -> MessageOriginMetadata
fn default() -> MessageOriginMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageOriginMetadata
impl<'de> Deserialize<'de> for MessageOriginMetadata
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
Source§impl PartialEq for MessageOriginMetadata
impl PartialEq for MessageOriginMetadata
Source§fn eq(&self, other: &MessageOriginMetadata) -> bool
fn eq(&self, other: &MessageOriginMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageOriginMetadata
impl Serialize for MessageOriginMetadata
impl Eq for MessageOriginMetadata
impl StructuralPartialEq for MessageOriginMetadata
Auto Trait Implementations§
impl Freeze for MessageOriginMetadata
impl RefUnwindSafe for MessageOriginMetadata
impl Send for MessageOriginMetadata
impl Sync for MessageOriginMetadata
impl Unpin for MessageOriginMetadata
impl UnsafeUnpin for MessageOriginMetadata
impl UnwindSafe for MessageOriginMetadata
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