pub struct SheetInit {
pub id: Option<u64>,
pub name: Option<String>,
pub rows: usize,
pub cols: usize,
}Expand description
Arguments for Sheet::new. Default gives a 10x5 sheet with a
generated id and the name table_1.
Fields§
§id: Option<u64>Identifier to use; None generates a fresh one.
name: Option<String>Name to use; None means table_1.
rows: usizeRows to allocate.
cols: usizeColumns to allocate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SheetInit
impl<'de> Deserialize<'de> for SheetInit
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
Auto Trait Implementations§
impl Freeze for SheetInit
impl RefUnwindSafe for SheetInit
impl Send for SheetInit
impl Sync for SheetInit
impl Unpin for SheetInit
impl UnsafeUnpin for SheetInit
impl UnwindSafe for SheetInit
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