pub struct EditFileOptions {
pub update_references: bool,
pub preserve_documentation: bool,
pub format_code: bool,
}
Expand description
Options for controlling edit behavior
Fields§
§update_references: bool
Try to update references to the edited element
preserve_documentation: bool
Preserve documentation when possible
format_code: bool
Format the edited code according to file style
Trait Implementations§
Source§impl Clone for EditFileOptions
impl Clone for EditFileOptions
Source§fn clone(&self) -> EditFileOptions
fn clone(&self) -> EditFileOptions
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 EditFileOptions
impl RefUnwindSafe for EditFileOptions
impl Send for EditFileOptions
impl Sync for EditFileOptions
impl Unpin for EditFileOptions
impl UnwindSafe for EditFileOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request