#[non_exhaustive]pub struct ExtendedItem {
pub description: String,
pub item: String,
}Expand description
An item (description-value pair) from an extended event descriptor fragment.
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.description: StringItem description.
item: StringItem value.
Trait Implementations§
Source§impl Clone for ExtendedItem
impl Clone for ExtendedItem
Source§fn clone(&self) -> ExtendedItem
fn clone(&self) -> ExtendedItem
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 ExtendedItem
impl Debug for ExtendedItem
impl Eq for ExtendedItem
Source§impl PartialEq for ExtendedItem
impl PartialEq for ExtendedItem
Source§fn eq(&self, other: &ExtendedItem) -> bool
fn eq(&self, other: &ExtendedItem) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtendedItem
impl Serialize for ExtendedItem
impl StructuralPartialEq for ExtendedItem
Auto Trait Implementations§
impl Freeze for ExtendedItem
impl RefUnwindSafe for ExtendedItem
impl Send for ExtendedItem
impl Sync for ExtendedItem
impl Unpin for ExtendedItem
impl UnsafeUnpin for ExtendedItem
impl UnwindSafe for ExtendedItem
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