pub struct DataTableRowBuilder { /* private fields */ }Expand description
Builder for DataTableRow object.
Implementations§
Source§impl DataTableRowBuilder
impl DataTableRowBuilder
Sourcepub fn get_cells(&self) -> Option<&[DataTableCell]>
pub fn get_cells(&self) -> Option<&[DataTableCell]>
get cells field value.
Sourcepub fn cell(self, value: impl Into<DataTableCell>) -> Self
pub fn cell(self, value: impl Into<DataTableCell>) -> Self
push list element to cells field.
Sourcepub fn build(self) -> Result<DataTableRow, ValidationErrors>
pub fn build(self) -> Result<DataTableRow, ValidationErrors>
build DataTableRow object.
Trait Implementations§
Source§impl Debug for DataTableRowBuilder
impl Debug for DataTableRowBuilder
Auto Trait Implementations§
impl Freeze for DataTableRowBuilder
impl RefUnwindSafe for DataTableRowBuilder
impl Send for DataTableRowBuilder
impl Sync for DataTableRowBuilder
impl Unpin for DataTableRowBuilder
impl UnsafeUnpin for DataTableRowBuilder
impl UnwindSafe for DataTableRowBuilder
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