pub enum AdHocResultFormat {
Text,
Json,
Parquet,
ArrowIpc,
}Expand description
URL-encoded format argument to the /query endpoint.
Variants§
Text
Serialize results as a human-readable text table.
Json
Serialize results as new-line delimited JSON records.
Parquet
Download results in a parquet file.
ArrowIpc
Stream data in the arrow IPC format.
Trait Implementations§
Source§impl Clone for AdHocResultFormat
impl Clone for AdHocResultFormat
Source§fn clone(&self) -> AdHocResultFormat
fn clone(&self) -> AdHocResultFormat
Returns a copy 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 AdHocResultFormat
impl Debug for AdHocResultFormat
Source§impl Default for AdHocResultFormat
impl Default for AdHocResultFormat
Source§impl<'de> Deserialize<'de> for AdHocResultFormat
impl<'de> Deserialize<'de> for AdHocResultFormat
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 Display for AdHocResultFormat
impl Display for AdHocResultFormat
Source§impl PartialEq for AdHocResultFormat
impl PartialEq for AdHocResultFormat
Source§impl Serialize for AdHocResultFormat
impl Serialize for AdHocResultFormat
Source§impl<'__s> ToSchema<'__s> for AdHocResultFormat
impl<'__s> ToSchema<'__s> for AdHocResultFormat
impl Copy for AdHocResultFormat
impl StructuralPartialEq for AdHocResultFormat
Auto Trait Implementations§
impl Freeze for AdHocResultFormat
impl RefUnwindSafe for AdHocResultFormat
impl Send for AdHocResultFormat
impl Sync for AdHocResultFormat
impl Unpin for AdHocResultFormat
impl UnwindSafe for AdHocResultFormat
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