pub struct PatchBlock {
pub name: String,
pub content: String,
pub attrs: HashMap<String, String>,
}Expand description
A parsed patch directive from an agent response.
Fields§
§name: String§content: String§attrs: HashMap<String, String>Attributes from the patch marker (e.g., transfer-source="path").
Implementations§
Trait Implementations§
Source§impl Clone for PatchBlock
impl Clone for PatchBlock
Auto Trait Implementations§
impl Forget for PatchBlock
impl Freeze for PatchBlock
impl RefUnwindSafe for PatchBlock
impl Send for PatchBlock
impl Sync for PatchBlock
impl Unpin for PatchBlock
impl UnsafeUnpin for PatchBlock
impl UnwindSafe for PatchBlock
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