pub struct PrepareJob {
pub source_repo: String,
pub source_revision: String,
pub source_file: String,
pub projectors: Vec<DiscoveredProjector>,
pub target_repo: String,
pub model_id: String,
pub namespace: String,
pub catalog_create_pr: bool,
pub experimental: bool,
pub job_plan: CpuJobPlan,
pub spec: JobSpec,
}Expand description
A fully resolved model-package job, ready to submit.
Fields§
§source_repo: String§source_revision: String§source_file: String§projectors: Vec<DiscoveredProjector>§target_repo: String§model_id: String§namespace: String§catalog_create_pr: bool§experimental: bool§job_plan: CpuJobPlan§spec: JobSpecAuto Trait Implementations§
impl Freeze for PrepareJob
impl RefUnwindSafe for PrepareJob
impl Send for PrepareJob
impl Sync for PrepareJob
impl Unpin for PrepareJob
impl UnsafeUnpin for PrepareJob
impl UnwindSafe for PrepareJob
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> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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> 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