pub struct CreateDatasetOptions {
pub name: String,
pub schema: Schema,
pub termination: Option<Vec<Termination>>,
pub content_types: Option<Vec<String>>,
pub proxy: Option<ProxyMode>,
pub document_modes: Option<Vec<DocumentMode>>,
}Expand description
The options argument of create_dataset.
Fields§
§name: String§schema: Schema§termination: Option<Vec<Termination>>§content_types: Option<Vec<String>>§proxy: Option<ProxyMode>§document_modes: Option<Vec<DocumentMode>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CreateDatasetOptions
impl !UnwindSafe for CreateDatasetOptions
impl Forget for CreateDatasetOptions
impl Freeze for CreateDatasetOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Schema>: Freeze,
*const LeafNode<String, Schema> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Schema)>>: Freeze,
PhantomData<String>: Freeze,
*const Schema is !null: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
*const ArcInner<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send>>: Freeze,
PhantomData<f64>: Freeze,
PhantomData<Option<[Option<f64>; 2]>>: Freeze,
*const SchemaLeaf is !null: Freeze,
PhantomData<SchemaLeaf>: Freeze,
PhantomData<(String, SchemaLeaf)>: Freeze,
PhantomData<Termination>: Freeze,
PhantomData<DocumentMode>: Freeze,
impl Move for CreateDatasetOptions
impl Send for CreateDatasetOptionswhere
RawVecInner: Send,
NodeRef<Owned, String, Schema, LeafOrInternal>: Send,
BoxRaw<(String, Schema)>: Send,
BoxRaw<Schema>: Send,
RawTable<usize>: Send,
Arc<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send>: Send,
BoxRaw<SchemaLeaf>: Send,
impl Sync for CreateDatasetOptionswhere
RawVecInner: Sync,
NodeRef<Owned, String, Schema, LeafOrInternal>: Sync,
BoxRaw<(String, Schema)>: Sync,
BoxRaw<Schema>: Sync,
RawTable<usize>: Sync,
Arc<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send>: Sync,
BoxRaw<SchemaLeaf>: Sync,
impl Unpin for CreateDatasetOptionswhere
*const u8 is !null: Unpin,
*const LeafNode<String, Schema> is !null: Unpin,
Box<(String, Schema)>: Unpin,
Box<Schema>: Unpin,
Arc<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send>: Unpin,
Box<SchemaLeaf>: Unpin,
impl UnsafeUnpin for CreateDatasetOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Schema>: UnsafeUnpin,
*const LeafNode<String, Schema> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Schema)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const Schema is !null: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
*const ArcInner<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(Value, Arc<dyn Fn(Value) + Sync + Send>) -> Pin<Box<dyn Future<Output = Result<Map<String, Value>, Error>> + Send>> + Sync + Send>>: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<Option<[Option<f64>; 2]>>: UnsafeUnpin,
*const SchemaLeaf is !null: UnsafeUnpin,
PhantomData<SchemaLeaf>: UnsafeUnpin,
PhantomData<(String, SchemaLeaf)>: UnsafeUnpin,
PhantomData<Termination>: UnsafeUnpin,
PhantomData<DocumentMode>: UnsafeUnpin,
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