pub struct Block {
pub name: String,
pub entries: Vec<ConfigEntry>,
pub span: Span,
}Expand description
A datasource or generator block.
Fields§
§name: StringBlock name as written, e.g. db.
entries: Vec<ConfigEntry>key = value entries, in source order.
span: SpanSource location of the whole block.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Block
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