pub struct Block {
pub name: String,
pub labels: Vec<String>,
pub blocks: Vec<Block>,
pub attributes: HashMap<String, Value>,
}Expand description
A named block like providers { } or models { }
Fields§
§name: StringBlock type name (e.g., “providers”, “models”)
labels: Vec<String>Optional block labels (e.g., "openai" in providers "openai" { })
blocks: Vec<Block>Nested blocks inside this block
attributes: HashMap<String, Value>Attribute assignments
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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