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
Source§fn clone(&self) -> PatchBlock
fn clone(&self) -> PatchBlock
Returns a duplicate of the value. Read more
1.0.0 · 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 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