pub struct ApplyPatchResult {
pub applied: bool,
pub preview_text: Option<String>,
pub diagnostics: Vec<PatchDiagnostic>,
pub document_path: Option<String>,
}Fields§
§applied: bool§preview_text: Option<String>§diagnostics: Vec<PatchDiagnostic>§document_path: Option<String>Trait Implementations§
Source§impl Clone for ApplyPatchResult
impl Clone for ApplyPatchResult
Source§fn clone(&self) -> ApplyPatchResult
fn clone(&self) -> ApplyPatchResult
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 moreSource§impl Debug for ApplyPatchResult
impl Debug for ApplyPatchResult
Source§impl<'de> Deserialize<'de> for ApplyPatchResult
impl<'de> Deserialize<'de> for ApplyPatchResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApplyPatchResult
impl RefUnwindSafe for ApplyPatchResult
impl Send for ApplyPatchResult
impl Sync for ApplyPatchResult
impl Unpin for ApplyPatchResult
impl UnsafeUnpin for ApplyPatchResult
impl UnwindSafe for ApplyPatchResult
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