pub struct InsertTableRequest {
pub columns: Option<i32>,
pub end_of_segment_location: Option<EndOfSegmentLocation>,
pub location: Option<Location>,
pub rows: Option<i32>,
}
Expand description
Inserts a table at the specified location. A newline character will be inserted before the inserted table.
This type is not used in any activity, and only used as part of another schema.
Fields§
§columns: Option<i32>
The number of columns in the table.
end_of_segment_location: Option<EndOfSegmentLocation>
Inserts the table at the end of the given header, footer or document body. A newline character will be inserted before the inserted table. Tables cannot be inserted inside a footnote.
location: Option<Location>
Inserts the table at a specific model index. A newline character will be inserted before the inserted table, therefore the table start index will be at the specified location index + 1. The table must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table’s start index (i.e. between an existing table and its preceding paragraph). Tables cannot be inserted inside a footnote or equation.
rows: Option<i32>
The number of rows in the table.
Trait Implementations§
Source§impl Clone for InsertTableRequest
impl Clone for InsertTableRequest
Source§fn clone(&self) -> InsertTableRequest
fn clone(&self) -> InsertTableRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InsertTableRequest
impl Debug for InsertTableRequest
Source§impl Default for InsertTableRequest
impl Default for InsertTableRequest
Source§fn default() -> InsertTableRequest
fn default() -> InsertTableRequest
Source§impl<'de> Deserialize<'de> for InsertTableRequest
impl<'de> Deserialize<'de> for InsertTableRequest
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>,
Source§impl Serialize for InsertTableRequest
impl Serialize for InsertTableRequest
impl Part for InsertTableRequest
Auto Trait Implementations§
impl Freeze for InsertTableRequest
impl RefUnwindSafe for InsertTableRequest
impl Send for InsertTableRequest
impl Sync for InsertTableRequest
impl Unpin for InsertTableRequest
impl UnwindSafe for InsertTableRequest
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