pub struct TableRow {
pub end_index: Option<i32>,
pub start_index: Option<i32>,
pub suggested_deletion_ids: Option<Vec<String>>,
pub suggested_insertion_ids: Option<Vec<String>>,
pub suggested_table_row_style_changes: Option<HashMap<String, SuggestedTableRowStyle>>,
pub table_cells: Option<Vec<TableCell>>,
pub table_row_style: Option<TableRowStyle>,
}
Expand description
The contents and style of a row in a Table.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_index: Option<i32>
The zero-based end index of this row, exclusive, in UTF-16 code units.
start_index: Option<i32>
The zero-based start index of this row, in UTF-16 code units.
suggested_deletion_ids: Option<Vec<String>>
The suggested deletion IDs. If empty, then there are no suggested deletions of this content.
suggested_insertion_ids: Option<Vec<String>>
The suggested insertion IDs. A TableRow may have multiple insertion IDs if it’s a nested suggested change. If empty, then this is not a suggested insertion.
suggested_table_row_style_changes: Option<HashMap<String, SuggestedTableRowStyle>>
The suggested style changes to this row, keyed by suggestion ID.
table_cells: Option<Vec<TableCell>>
The contents and style of each cell in this row. It’s possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same table.
table_row_style: Option<TableRowStyle>
The style of the table row.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TableRow
impl<'de> Deserialize<'de> for TableRow
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>,
impl Part for TableRow
Auto Trait Implementations§
impl Freeze for TableRow
impl RefUnwindSafe for TableRow
impl Send for TableRow
impl Sync for TableRow
impl Unpin for TableRow
impl UnwindSafe for TableRow
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<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