pub struct Request {
pub target: Utf8PathBuf,
pub profile: ProfileId,
pub output: Option<Utf8PathBuf>,
pub docs_scratch: Option<Option<Utf8PathBuf>>,
pub reserve: Vec<String>,
pub writing_style: Option<WritingStyle>,
}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: ProfileIdThe profile to project.
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze 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