pub struct ProposalRequest {
pub file_path: PathBuf,
pub cursor_line: Option<usize>,
pub kind: LoreKind,
pub title: String,
pub body: Option<String>,
pub scope: Option<String>,
pub validation_script: Option<String>,
}Fields§
§file_path: PathBuf§cursor_line: Option<usize>§kind: LoreKind§title: String§body: Option<String>§scope: Option<String>§validation_script: Option<String>A literal shell command that validates the atom when preflight runs.
Trait Implementations§
Source§impl Clone for ProposalRequest
impl Clone for ProposalRequest
Source§fn clone(&self) -> ProposalRequest
fn clone(&self) -> ProposalRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProposalRequest
impl RefUnwindSafe for ProposalRequest
impl Send for ProposalRequest
impl Sync for ProposalRequest
impl Unpin for ProposalRequest
impl UnsafeUnpin for ProposalRequest
impl UnwindSafe for ProposalRequest
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