pub struct DetailExample {
pub locator: BTreeMap<String, Value>,
pub before: Option<ValuePreview>,
pub after: Option<ValuePreview>,
pub fields: BTreeMap<String, Value>,
}Expand description
One bounded example inside a detail block.
Fields§
§locator: BTreeMap<String, Value>Structured locator such as row/column, line range, or key path.
before: Option<ValuePreview>Value before the change, if present.
after: Option<ValuePreview>Value after the change, if present.
fields: BTreeMap<String, Value>Domain-specific structured context.
Implementations§
Source§impl DetailExample
impl DetailExample
Trait Implementations§
Source§impl Clone for DetailExample
impl Clone for DetailExample
Source§fn clone(&self) -> DetailExample
fn clone(&self) -> DetailExample
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 DetailExample
impl Debug for DetailExample
Source§impl Default for DetailExample
impl Default for DetailExample
Source§impl<'de> Deserialize<'de> for DetailExample
impl<'de> Deserialize<'de> for DetailExample
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
Auto Trait Implementations§
impl Freeze for DetailExample
impl RefUnwindSafe for DetailExample
impl Send for DetailExample
impl Sync for DetailExample
impl Unpin for DetailExample
impl UnsafeUnpin for DetailExample
impl UnwindSafe for DetailExample
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