pub struct InlineOptions {
pub file: PathBuf,
pub author: String,
pub author_given: bool,
pub datetime: Option<String>,
pub track: String,
pub existing_revisions: String,
pub accept_change: Vec<String>,
pub reject_change: Vec<String>,
pub save_plan: Option<PathBuf>,
pub delivery: DeliveryOptions,
}Expand description
Policy and attribution for a newly compiled inline plan.
Fields§
§file: PathBufImmutable source document.
New revision and comment author. A write that adds markup needs it spelled here or in JUBARTE_AUTHOR.
Whether -a/--author was spelled on the command line (set after
parsing). The typed receipt uses this to say when the default signed
the new markup (#1891).
datetime: Option<String>Frozen timestamp; timezone required. Default current UTC.
track: StringTrack new edits, preserving earlier history according to policy.
existing_revisions: StringPolicy for history remaining after explicit selected decisions.
accept_change: Vec<String>Original-source revision ID to accept; repeat to select a set.
reject_change: Vec<String>Original-source revision ID to reject; repeat to select a set.
save_plan: Option<PathBuf>Save a source-bound PlanV2 without applying. Freezes targets, policy and time.
delivery: DeliveryOptionsPublication and source preconditions.
Trait Implementations§
Source§impl Args for InlineOptions
impl Args for InlineOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for InlineOptions
impl Debug for InlineOptions
Source§impl FromArgMatches for InlineOptions
impl FromArgMatches for InlineOptions
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.