pub struct TrimWhitespaceRequest {
pub range: GridRange,
}Expand description
TrimWhitespaceRequest — trims whitespace in every cell of a range
(issue #1844, ADR-0083 §1).
The API’s exact rule is deliberately not reproduced anywhere in this
crate: ADR-0083 §6 forbids a preview that predicts which cells a trim
would change, because reproducing the server’s rule locally is the
“preview that lies” risk it declined for findReplace. The count of
cells actually changed comes back from the server in
TrimWhitespaceResponse.
Fields§
§range: GridRangeThe range whose cells to trim.
Trait Implementations§
Source§impl Clone for TrimWhitespaceRequest
impl Clone for TrimWhitespaceRequest
Source§impl Debug for TrimWhitespaceRequest
impl Debug for TrimWhitespaceRequest
impl Eq for TrimWhitespaceRequest
Source§impl PartialEq for TrimWhitespaceRequest
impl PartialEq for TrimWhitespaceRequest
Source§impl Serialize for TrimWhitespaceRequest
impl Serialize for TrimWhitespaceRequest
impl StructuralPartialEq for TrimWhitespaceRequest
Auto Trait Implementations§
impl Freeze for TrimWhitespaceRequest
impl RefUnwindSafe for TrimWhitespaceRequest
impl Send for TrimWhitespaceRequest
impl Sync for TrimWhitespaceRequest
impl Unpin for TrimWhitespaceRequest
impl UnsafeUnpin for TrimWhitespaceRequest
impl UnwindSafe for TrimWhitespaceRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more