pub struct ExtractRequest {
pub extractor: String,
pub version: u32,
pub params: Map<String, Value>,
pub input: RequestInput,
pub outputs: BTreeMap<String, DataSetId>,
}Expand description
One run of an extractor.
Fields§
§extractor: StringThe descriptor’s id.
version: u32The descriptor’s version.
params: Map<String, Value>Parameters, validated against the descriptor’s schema by the surface helper.
input: RequestInputWhat is read.
outputs: BTreeMap<String, DataSetId>For each output recorded, the data set id it becomes; outputs left out are discarded.
Trait Implementations§
Source§impl Clone for ExtractRequest
impl Clone for ExtractRequest
Source§impl Debug for ExtractRequest
impl Debug for ExtractRequest
Source§impl<'de> Deserialize<'de> for ExtractRequest
impl<'de> Deserialize<'de> for ExtractRequest
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 ExtractRequest
impl PartialEq for ExtractRequest
Source§impl Serialize for ExtractRequest
impl Serialize for ExtractRequest
impl StructuralPartialEq for ExtractRequest
Auto Trait Implementations§
impl Forget for ExtractRequest
impl Freeze for ExtractRequest
impl Move for ExtractRequest
impl RefUnwindSafe for ExtractRequest
impl Send for ExtractRequest
impl Sync for ExtractRequest
impl Unpin for ExtractRequest
impl UnsafeUnpin for ExtractRequest
impl UnwindSafe for ExtractRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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