pub struct CreateTableRequest {
pub id: Option<Vec<String>>,
pub location: Option<String>,
pub mode: Option<Mode>,
pub properties: Option<HashMap<String, String>>,
}
Expand description
CreateTableRequest : Request for creating a table, excluding the Arrow IPC stream.
Fields§
§id: Option<Vec<String>>
§location: Option<String>
§mode: Option<Mode>
There are three modes when trying to create a table, to differentiate the behavior when a table of the same name already exists: * create: the operation fails with 409. * exist_ok: the operation succeeds and the existing table is kept. * overwrite: the existing table is dropped and a new table with this name is created.
properties: Option<HashMap<String, String>>
Implementations§
Source§impl CreateTableRequest
impl CreateTableRequest
Sourcepub fn new() -> CreateTableRequest
pub fn new() -> CreateTableRequest
Request for creating a table, excluding the Arrow IPC stream.
Trait Implementations§
Source§impl Clone for CreateTableRequest
impl Clone for CreateTableRequest
Source§fn clone(&self) -> CreateTableRequest
fn clone(&self) -> CreateTableRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateTableRequest
impl Debug for CreateTableRequest
Source§impl Default for CreateTableRequest
impl Default for CreateTableRequest
Source§fn default() -> CreateTableRequest
fn default() -> CreateTableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTableRequest
impl<'de> Deserialize<'de> for CreateTableRequest
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
Source§impl PartialEq for CreateTableRequest
impl PartialEq for CreateTableRequest
Source§impl Serialize for CreateTableRequest
impl Serialize for CreateTableRequest
impl StructuralPartialEq for CreateTableRequest
Auto Trait Implementations§
impl Freeze for CreateTableRequest
impl RefUnwindSafe for CreateTableRequest
impl Send for CreateTableRequest
impl Sync for CreateTableRequest
impl Unpin for CreateTableRequest
impl UnwindSafe for CreateTableRequest
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