pub struct DeleteDuplicatesRequest {
pub range: GridRange,
pub comparison_columns: Vec<DimensionRange>,
}Expand description
DeleteDuplicatesRequest — removes rows within a range that duplicate
an earlier row (issue #1844,
ADR-0083 §2).
This is the only request in this enum gated by
crate::drive::write_gate::DriveOperation::SheetsDelete that is not
built by structure.rs, and the only one anywhere whose removed rows
are chosen by the server rather than named by the caller: the API
keeps the first instance of each duplicate and removes the rest,
counting rows with differing case, formatting or formulas as duplicates
and removing filter-hidden rows along with visible ones.
Fields§
§range: GridRangeThe range to remove duplicate rows from.
comparison_columns: Vec<DimensionRange>The columns compared for duplicate values. Omitted entirely when empty, which is the API’s “analyze all columns in the range” default — sending an empty array would be a different request.
Trait Implementations§
Source§impl Clone for DeleteDuplicatesRequest
impl Clone for DeleteDuplicatesRequest
Source§impl Debug for DeleteDuplicatesRequest
impl Debug for DeleteDuplicatesRequest
impl Eq for DeleteDuplicatesRequest
Source§impl PartialEq for DeleteDuplicatesRequest
impl PartialEq for DeleteDuplicatesRequest
Source§impl Serialize for DeleteDuplicatesRequest
impl Serialize for DeleteDuplicatesRequest
impl StructuralPartialEq for DeleteDuplicatesRequest
Auto Trait Implementations§
impl Freeze for DeleteDuplicatesRequest
impl RefUnwindSafe for DeleteDuplicatesRequest
impl Send for DeleteDuplicatesRequest
impl Sync for DeleteDuplicatesRequest
impl Unpin for DeleteDuplicatesRequest
impl UnsafeUnpin for DeleteDuplicatesRequest
impl UnwindSafe for DeleteDuplicatesRequest
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
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
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> ⓘ
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> ⓘ
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