pub struct LayoutOverlayEntry {
pub layout_path: String,
pub element_idx: usize,
pub schema_ref_path: String,
pub overlay: IndexMap<String, Value>,
}Expand description
One resolved element overlay produced by the layout resolver. Each entry describes properties to apply on top of the compact schema.
Fields§
§layout_path: StringWhich $layout.elements array (e.g. “#/form/$layout/elements”)
element_idx: usizeIndex within that elements array
schema_ref_path: StringDotted path to $ref target in schema (empty if no $ref)
overlay: IndexMap<String, Value>Delta properties to overlay onto the element
Trait Implementations§
Source§impl Clone for LayoutOverlayEntry
impl Clone for LayoutOverlayEntry
Source§fn clone(&self) -> LayoutOverlayEntry
fn clone(&self) -> LayoutOverlayEntry
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 LayoutOverlayEntry
impl Debug for LayoutOverlayEntry
Source§impl<'de> Deserialize<'de> for LayoutOverlayEntry
impl<'de> Deserialize<'de> for LayoutOverlayEntry
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 LayoutOverlayEntry
impl RefUnwindSafe for LayoutOverlayEntry
impl Send for LayoutOverlayEntry
impl Sync for LayoutOverlayEntry
impl Unpin for LayoutOverlayEntry
impl UnsafeUnpin for LayoutOverlayEntry
impl UnwindSafe for LayoutOverlayEntry
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