pub struct RecordsRequest {
pub input: String,
pub format: String,
pub max_records: u64,
pub max_tables: u64,
pub max_output_bytes: u64,
}Expand description
Request body for the records adapter, which reads parquet,
avro, and sqlite behind the jail.
The ceilings travel in the request because the worker, not the
parent, enforces them, and they are rules data the parent reads
from the registry. A source over any ceiling fails closed with
reason record-limit-exceeded.
Fields§
§input: StringInput file name inside the jail.
format: StringThe detected format: parquet, avro, or sqlite.
max_records: u64Ceiling on records per parquet or avro file, or per sqlite table.
max_tables: u64Ceiling on tables per sqlite database.
max_output_bytes: u64Ceiling on rendered output bytes.
Trait Implementations§
Source§impl Clone for RecordsRequest
impl Clone for RecordsRequest
Source§impl Debug for RecordsRequest
impl Debug for RecordsRequest
Source§impl<'de> Deserialize<'de> for RecordsRequest
impl<'de> Deserialize<'de> for RecordsRequest
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 RecordsRequest
impl RefUnwindSafe for RecordsRequest
impl Send for RecordsRequest
impl Sync for RecordsRequest
impl Unpin for RecordsRequest
impl UnsafeUnpin for RecordsRequest
impl UnwindSafe for RecordsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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