pub struct DiscussNewArgs {
pub scope: CodeScopeArgs,
pub revision: HistoricalRevisionArgs,
pub message: AuthoredMessageArgs,
pub title: Option<String>,
pub visibility: Option<String>,
pub thread: Option<String>,
}Fields§
§scope: CodeScopeArgs§revision: HistoricalRevisionArgs§message: AuthoredMessageArgs§title: Option<String>Human-readable summary. Defaults to the first line of the first turn.
visibility: Option<String>Visibility: public | internal | team:NAME | restricted:LABEL | private:LABEL.
thread: Option<String>Attach the discussion to a thread ref while keeping its code anchor.
Trait Implementations§
Source§impl Args for DiscussNewArgs
impl Args for DiscussNewArgs
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 DiscussNewArgs
impl Clone for DiscussNewArgs
Source§impl Debug for DiscussNewArgs
impl Debug for DiscussNewArgs
Source§impl FromArgMatches for DiscussNewArgs
impl FromArgMatches for DiscussNewArgs
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 DiscussNewArgs
impl RefUnwindSafe for DiscussNewArgs
impl Send for DiscussNewArgs
impl Sync for DiscussNewArgs
impl Unpin for DiscussNewArgs
impl UnsafeUnpin for DiscussNewArgs
impl UnwindSafe for DiscussNewArgs
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