pub struct RangeRef {
pub sheet: String,
pub start: String,
pub end: String,
}Expand description
A structured, owned A1-range reference — the SINGLE range type reused for
merges, CF ranges, tables, named-range targets, and the IR’s Expr::Range
(replaces all (String,String) tuples; Codex HIGH). For a single-cell range
start == end.
Example: RangeRef { sheet: "1_Inputs", start: "E6", end: "E6" }.
Fields§
§sheet: StringThe sheet the range lives on.
start: StringThe top-left A1 cell of the range (e.g. "E6").
end: StringThe bottom-right A1 cell of the range (== start for a single cell).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RangeRef
impl<'de> Deserialize<'de> for RangeRef
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
impl Eq for RangeRef
Source§impl JsonSchema for RangeRef
impl JsonSchema for RangeRef
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for RangeRef
Auto Trait Implementations§
impl Freeze for RangeRef
impl RefUnwindSafe for RangeRef
impl Send for RangeRef
impl Sync for RangeRef
impl Unpin for RangeRef
impl UnsafeUnpin for RangeRef
impl UnwindSafe for RangeRef
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.