pub struct VxMetadata {
pub name: Cow<'static, str>,
pub target: Cow<'static, str>,
pub level: Cow<'static, str>,
pub module_path: Option<Cow<'static, str>>,
pub file: Option<Cow<'static, str>>,
pub line: Option<u32>,
}Fields§
§name: Cow<'static, str>§target: Cow<'static, str>§level: Cow<'static, str>§module_path: Option<Cow<'static, str>>§file: Option<Cow<'static, str>>§line: Option<u32>Trait Implementations§
Source§impl Clone for VxMetadata
impl Clone for VxMetadata
Source§fn clone(&self) -> VxMetadata
fn clone(&self) -> VxMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 VxMetadata
impl Debug for VxMetadata
Source§impl<'de> Deserialize<'de> for VxMetadata
impl<'de> Deserialize<'de> for VxMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VxMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VxMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&'static Metadata<'static>> for VxMetadata
impl From<&'static Metadata<'static>> for VxMetadata
Source§fn from(value: &'static Metadata<'static>) -> VxMetadata
fn from(value: &'static Metadata<'static>) -> VxMetadata
Converts to this type from the input type.
Source§impl<'a> From<&'a VxMetadata> for PosInfo
impl<'a> From<&'a VxMetadata> for PosInfo
Source§fn from(value: &'a VxMetadata) -> PosInfo
fn from(value: &'a VxMetadata) -> PosInfo
Converts to this type from the input type.
Source§impl Serialize for VxMetadata
impl Serialize for VxMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for VxMetadata
impl RefUnwindSafe for VxMetadata
impl Send for VxMetadata
impl Sync for VxMetadata
impl Unpin for VxMetadata
impl UnwindSafe for VxMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request