pub struct RenderBlock {
pub block_type: String,
pub fields: HashMap<String, String>,
}Expand description
A render block entry, authored either as a bare type name (shorthand, no fields) or as a
mapping with an explicit fields schema. Always normalized to {type, fields} in the IR.
Fields§
§block_type: String§fields: HashMap<String, String>Trait Implementations§
Source§impl Clone for RenderBlock
impl Clone for RenderBlock
Source§impl Debug for RenderBlock
impl Debug for RenderBlock
Source§impl<'de> Deserialize<'de> for RenderBlock
impl<'de> Deserialize<'de> for RenderBlock
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 RenderBlock
impl RefUnwindSafe for RenderBlock
impl Send for RenderBlock
impl Sync for RenderBlock
impl Unpin for RenderBlock
impl UnsafeUnpin for RenderBlock
impl UnwindSafe for RenderBlock
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