pub struct MakeTableOptions {
pub page_to_disk: Option<bool>,
pub list_flatten: Option<i32>,
pub struct_flatten: Option<i32>,
pub map_flatten: Option<i32>,
pub view_schema: Option<Schema>,
pub make_table_type: Option<MakeTableType>,
}Fields§
§page_to_disk: Option<bool>Back this Table’s canonical data with the on-disk storage backend
(memory-mapped file on native; OPFS on WASM) instead of memory.
Orthogonal to make_table_type, so it is a standalone field.
list_flatten: Option<i32>§struct_flatten: Option<i32>§map_flatten: Option<i32>Unset falls back to struct_flatten.
view_schema: Option<Schema>The columns of a Table made from a View, in place of the ones
inferred from it. Only valid with MakeTableData.from_view.
make_table_type: Option<MakeTableType>Implementations§
Source§impl MakeTableOptions
impl MakeTableOptions
Sourcepub fn page_to_disk(&self) -> bool
pub fn page_to_disk(&self) -> bool
Returns the value of page_to_disk, or the default value if page_to_disk is unset.
Sourcepub fn list_flatten(&self) -> ListFlatten
pub fn list_flatten(&self) -> ListFlatten
Returns the enum value of list_flatten, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_list_flatten(&mut self, value: ListFlatten)
pub fn set_list_flatten(&mut self, value: ListFlatten)
Sets list_flatten to the provided enum value.
Sourcepub fn struct_flatten(&self) -> StructFlatten
pub fn struct_flatten(&self) -> StructFlatten
Returns the enum value of struct_flatten, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_struct_flatten(&mut self, value: StructFlatten)
pub fn set_struct_flatten(&mut self, value: StructFlatten)
Sets struct_flatten to the provided enum value.
Sourcepub fn map_flatten(&self) -> MapFlatten
pub fn map_flatten(&self) -> MapFlatten
Returns the enum value of map_flatten, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_map_flatten(&mut self, value: MapFlatten)
pub fn set_map_flatten(&mut self, value: MapFlatten)
Sets map_flatten to the provided enum value.
Trait Implementations§
Source§impl Clone for MakeTableOptions
impl Clone for MakeTableOptions
Source§impl Debug for MakeTableOptions
impl Debug for MakeTableOptions
Source§impl Default for MakeTableOptions
impl Default for MakeTableOptions
Source§impl Message for MakeTableOptions
impl Message for MakeTableOptions
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl PartialEq for MakeTableOptions
impl PartialEq for MakeTableOptions
Source§impl Serialize for MakeTableOptions
impl Serialize for MakeTableOptions
impl StructuralPartialEq for MakeTableOptions
Auto Trait Implementations§
impl Freeze for MakeTableOptions
impl RefUnwindSafe for MakeTableOptions
impl Send for MakeTableOptions
impl Sync for MakeTableOptions
impl Unpin for MakeTableOptions
impl UnsafeUnpin for MakeTableOptions
impl UnwindSafe for MakeTableOptions
Blanket Implementations§
impl<T> Allocation for T
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