#[repr(C)]pub struct FfiPatchResult {
pub text: *mut c_char,
pub error: *mut c_char,
}Expand description
Result of agent_doc_apply_patch.
Fields§
§text: *mut c_charThe patched document text, or null on error. Free with agent_doc_free_string.
error: *mut c_charError message if text is null. Free with agent_doc_free_string.
Auto Trait Implementations§
impl Freeze for FfiPatchResult
impl RefUnwindSafe for FfiPatchResult
impl !Send for FfiPatchResult
impl !Sync for FfiPatchResult
impl Unpin for FfiPatchResult
impl UnsafeUnpin for FfiPatchResult
impl UnwindSafe for FfiPatchResult
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