#[non_exhaustive]pub struct TraceFlag {
pub name: String,
pub modifiers: Vec<String>,
pub disable: bool,
}Expand description
A flag <name> [<modifier>...] [disable] of a Traceoptions block.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§modifiers: Vec<String>detail, receive and send, in the order written.
disable: boolTrait Implementations§
impl Eq for TraceFlag
impl StructuralPartialEq for TraceFlag
Auto Trait Implementations§
impl Forget for TraceFlag
impl Freeze for TraceFlag
impl Move for TraceFlag
impl RefUnwindSafe for TraceFlag
impl Send for TraceFlagwhere
RawVecInner: Send,
impl Sync for TraceFlagwhere
RawVecInner: Sync,
impl Unpin for TraceFlag
impl UnsafeUnpin for TraceFlagwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TraceFlagwhere
RawVecInner: UnwindSafe,
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