pub struct ApplyTextResult {
pub applied: bool,
pub preview_text: Option<String>,
pub diagnostics: Vec<PatchDiagnostic>,
}Fields§
§applied: bool§preview_text: Option<String>§diagnostics: Vec<PatchDiagnostic>Trait Implementations§
Source§impl Clone for ApplyTextResult
impl Clone for ApplyTextResult
Source§fn clone(&self) -> ApplyTextResult
fn clone(&self) -> ApplyTextResult
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 ApplyTextResult
impl Debug for ApplyTextResult
Source§impl<'de> Deserialize<'de> for ApplyTextResult
impl<'de> Deserialize<'de> for ApplyTextResult
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
Source§impl From<ApplyPatchResult> for ApplyTextResult
impl From<ApplyPatchResult> for ApplyTextResult
Source§fn from(value: ApplyPatchResult) -> Self
fn from(value: ApplyPatchResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApplyTextResult
impl RefUnwindSafe for ApplyTextResult
impl Send for ApplyTextResult
impl Sync for ApplyTextResult
impl Unpin for ApplyTextResult
impl UnsafeUnpin for ApplyTextResult
impl UnwindSafe for ApplyTextResult
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