pub struct Request {
pub target: Utf8PathBuf,
pub profile: Option<ProfileId>,
pub output: Option<Utf8PathBuf>,
pub docs_scratch: Option<Option<Utf8PathBuf>>,
pub reserve: Vec<String>,
pub writing_style: Option<WritingStyle>,
pub acquisition: Option<Acquisition>,
}Expand description
What a stage was asked to render.
Every choice a landing takes is here too. A stage rendered under different choices than the landing that follows it would be evidence about a candidate nobody is going to write.
Fields§
§target: Utf8PathBufThe repository to render a candidate for.
profile: Option<ProfileId>The profile to project. None takes the recorded profile, or the
codebase profile where nothing is recorded.
output: Option<Utf8PathBuf>The stage directory the operator named.
docs_scratch: Option<Option<Utf8PathBuf>>The documentation scratch the candidate would record.
reserve: Vec<String>Paths the candidate would record under reserved:.
writing_style: Option<WritingStyle>The writing-style selection the candidate would record.
acquisition: Option<Acquisition>The acquisition decision the candidate would record.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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