pub struct ParamForm {
pub job_id: String,
pub job: String,
pub input: String,
pub cursor: usize,
pub kind: ParamKind,
pub loading: bool,
}Expand description
The run-with-parameters prompt: a single key=value, … line,
prefilled with the job’s current parameter defaults.
Fields§
§job_id: String§job: String§input: String§cursor: usizeCaret as a char index into input.
kind: ParamKind§loading: boolTrue until the prefill fetch lands; typing waits for it.
Auto Trait Implementations§
impl Freeze for ParamForm
impl RefUnwindSafe for ParamForm
impl Send for ParamForm
impl Sync for ParamForm
impl Unpin for ParamForm
impl UnsafeUnpin for ParamForm
impl UnwindSafe for ParamForm
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> 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