pub struct ScrubSelection {
pub author_alias: Option<String>,
pub rsids: bool,
pub docprops: bool,
pub comments: bool,
}Expand description
What jubarte scrub removes; everything when no flag is given.
Fields§
Name every author (revisions, comments, people.xml) takes.
rsids: boolRemove rsids, the edit-session ids that tie copies together.
docprops: boolRemove creator, last editor, revision number, dates, manager, company and custom properties.
comments: boolRemove every comment.
Trait Implementations§
Source§impl Args for ScrubSelection
impl Args for ScrubSelection
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ScrubSelection
impl Debug for ScrubSelection
Source§impl Default for ScrubSelection
impl Default for ScrubSelection
Source§impl FromArgMatches for ScrubSelection
impl FromArgMatches for ScrubSelection
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl PartialEq for ScrubSelection
impl PartialEq for ScrubSelection
Source§impl Serialize for ScrubSelection
impl Serialize for ScrubSelection
impl StructuralPartialEq for ScrubSelection
Auto Trait Implementations§
impl Forget for ScrubSelection
impl Freeze for ScrubSelection
impl Move for ScrubSelection
impl RefUnwindSafe for ScrubSelection
impl Send for ScrubSelection
impl Sync for ScrubSelection
impl Unpin for ScrubSelection
impl UnsafeUnpin for ScrubSelection
impl UnwindSafe for ScrubSelection
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