Struct Trace Format Field
Source pub struct TraceFormatField<'a> { /* private fields */ }Expand description
A single field declared on a TraceFormat, yielded by
TraceFormat::fields.
Implementations§
Source§impl<'a> TraceFormatField<'a>
impl<'a> TraceFormatField<'a>
pub fn name(&self) -> &'a str
pub fn type_(&self) -> TracerFieldType
pub fn description(&self) -> Option<&'a str>
pub fn structure(&self) -> Option<&'a StructureRef>
Trait Implementations§
Source§impl<'a> Clone for TraceFormatField<'a>
impl<'a> Clone for TraceFormatField<'a>
impl<'a> Copy for TraceFormatField<'a>
Auto Trait Implementations§
impl<'a> Forget for TraceFormatField<'a>
impl<'a> Freeze for TraceFormatField<'a>
impl<'a> Move for TraceFormatField<'a>
impl<'a> RefUnwindSafe for TraceFormatField<'a>
impl<'a> Send for TraceFormatField<'a>
impl<'a> Sync for TraceFormatField<'a>
impl<'a> Unpin for TraceFormatField<'a>
impl<'a> UnsafeUnpin for TraceFormatField<'a>
impl<'a> UnwindSafe for TraceFormatField<'a>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more