pub struct RulesBlock {
pub content: String,
}Expand description
Markdown content to inject into the harness’s memory/rules file, fenced by
HTML comments keyed on the HookSpec::tag.
Fields§
§content: StringRaw markdown body (no fences — they are added by the library).
Trait Implementations§
Source§impl Clone for RulesBlock
impl Clone for RulesBlock
Source§fn clone(&self) -> RulesBlock
fn clone(&self) -> RulesBlock
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 moreAuto Trait Implementations§
impl Freeze for RulesBlock
impl RefUnwindSafe for RulesBlock
impl Send for RulesBlock
impl Sync for RulesBlock
impl Unpin for RulesBlock
impl UnsafeUnpin for RulesBlock
impl UnwindSafe for RulesBlock
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