pub struct ParseRequest {
pub root: String,
pub root_dir: String,
pub files: Vec<String>,
pub sys_path: Vec<String>,
}Expand description
A parse job: the files of one root to import.
Fields§
§root: StringThe root’s name, e.g. etl-repo.
root_dir: StringThe root’s directory.
files: Vec<String>The files to import, relative to the root, in order.
sys_path: Vec<String>Directories put first on sys.path (every DAG root).
Trait Implementations§
Source§impl Clone for ParseRequest
impl Clone for ParseRequest
Source§fn clone(&self) -> ParseRequest
fn clone(&self) -> ParseRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParseRequest
impl Debug for ParseRequest
Source§impl<'de> Deserialize<'de> for ParseRequest
impl<'de> Deserialize<'de> for ParseRequest
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
impl Eq for ParseRequest
Source§impl JsonSchema for ParseRequest
impl JsonSchema for ParseRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ParseRequest
impl PartialEq for ParseRequest
Source§impl Serialize for ParseRequest
impl Serialize for ParseRequest
impl StructuralPartialEq for ParseRequest
Auto Trait Implementations§
impl Freeze for ParseRequest
impl RefUnwindSafe for ParseRequest
impl Send for ParseRequest
impl Sync for ParseRequest
impl Unpin for ParseRequest
impl UnsafeUnpin for ParseRequest
impl UnwindSafe for ParseRequest
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