pub struct Loader {
pub main: i32,
pub modules: Vec<ModuleData>,
pub steps: Value,
pub app_data: ApplicationData,
pub tests: Option<Value>,
}Fields§
§main: i32§modules: Vec<ModuleData>§steps: Value§app_data: ApplicationData§tests: Option<Value>Implementations§
Source§impl Loader
impl Loader
pub async fn load( script_absolute_path: &str, print_yaml: bool, print_output: PrintOutput, analyzer: Option<&Analyzer>, ) -> Result<Self, Error>
pub fn from_value( script: &Value, base_path: Option<&Path>, ) -> Result<Self, Error>
pub fn get_steps(&self) -> Value
pub async fn download( &self, default_package_repository_url: &str, ) -> Result<(), Error>
pub fn update_info(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loader
impl RefUnwindSafe for Loader
impl Send for Loader
impl Sync for Loader
impl Unpin for Loader
impl UnsafeUnpin for Loader
impl UnwindSafe for Loader
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,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request