pub struct CommentTextArgs {
pub comment: Option<String>,
pub comment_file: Option<PathBuf>,
}Fields§
§comment: Option<String>Inline close comment.
comment_file: Option<PathBuf>Path to close comment markdown/text.
Trait Implementations§
Source§impl Args for CommentTextArgs
impl Args for CommentTextArgs
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 Clone for CommentTextArgs
impl Clone for CommentTextArgs
Source§fn clone(&self) -> CommentTextArgs
fn clone(&self) -> CommentTextArgs
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 moreSource§impl Debug for CommentTextArgs
impl Debug for CommentTextArgs
Source§impl Default for CommentTextArgs
impl Default for CommentTextArgs
Source§fn default() -> CommentTextArgs
fn default() -> CommentTextArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for CommentTextArgs
impl FromArgMatches for CommentTextArgs
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.Auto Trait Implementations§
impl Freeze for CommentTextArgs
impl RefUnwindSafe for CommentTextArgs
impl Send for CommentTextArgs
impl Sync for CommentTextArgs
impl Unpin for CommentTextArgs
impl UnsafeUnpin for CommentTextArgs
impl UnwindSafe for CommentTextArgs
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