pub struct Block {
pub name: &'static str,
pub body: &'static str,
pub families: &'static [&'static str],
}Expand description
One block of standing instructions.
Fields§
§name: &'static strWhat [agent] prompt_blocks names it by.
body: &'static strThe text, sent verbatim under its own heading.
families: &'static [&'static str]Model-name fragments this block is for. Empty means every model.
Matched case-insensitively as a substring, the way a backend names a model in practice
(gpt-oss:120b, mmnuc/gemma-4-12b-it-qat, deepseek-v4.1-flash).
Auto Trait Implementations§
impl Forget for Block
impl Freeze for Block
impl Move 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