pub struct DimensionRange {
pub dimension: Option<String>,
pub end_index: Option<i32>,
pub sheet_id: Option<i32>,
pub start_index: Option<i32>,
}
Expand description
A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dimension: Option<String>
The dimension of the span.
end_index: Option<i32>
The end (exclusive) of the span, or not set if unbounded.
sheet_id: Option<i32>
The sheet this span is on.
start_index: Option<i32>
The start (inclusive) of the span, or not set if unbounded.
Trait Implementations§
Source§impl Clone for DimensionRange
impl Clone for DimensionRange
Source§fn clone(&self) -> DimensionRange
fn clone(&self) -> DimensionRange
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 moreSource§impl Debug for DimensionRange
impl Debug for DimensionRange
Source§impl Default for DimensionRange
impl Default for DimensionRange
Source§fn default() -> DimensionRange
fn default() -> DimensionRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DimensionRange
impl<'de> Deserialize<'de> for DimensionRange
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 Serialize for DimensionRange
impl Serialize for DimensionRange
impl Part for DimensionRange
Auto Trait Implementations§
impl Freeze for DimensionRange
impl RefUnwindSafe for DimensionRange
impl Send for DimensionRange
impl Sync for DimensionRange
impl Unpin for DimensionRange
impl UnwindSafe for DimensionRange
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> 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