pub struct DiscussOpenArgs {
pub file: String,
pub symbol: String,
pub body: String,
pub title: Option<String>,
pub state: Option<String>,
pub visibility: Option<String>,
}Fields§
§file: StringPath of the file containing the symbol.
symbol: StringSymbol name (for example Repository::open).
body: StringFirst turn of the discussion.
title: Option<String>Human-readable summary. Defaults to the first line of the first turn.
state: Option<String>State the symbol anchor was observed against. Defaults to HEAD.
visibility: Option<String>Visibility: public | internal | team:NAME | restricted:LABEL | private:LABEL.
Trait Implementations§
Source§impl Args for DiscussOpenArgs
impl Args for DiscussOpenArgs
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 DiscussOpenArgs
impl Clone for DiscussOpenArgs
Source§fn clone(&self) -> DiscussOpenArgs
fn clone(&self) -> DiscussOpenArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiscussOpenArgs
impl Debug for DiscussOpenArgs
Source§impl FromArgMatches for DiscussOpenArgs
impl FromArgMatches for DiscussOpenArgs
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<DiscussOpenArgs, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<DiscussOpenArgs, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<DiscussOpenArgs, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<DiscussOpenArgs, 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 DiscussOpenArgs
impl RefUnwindSafe for DiscussOpenArgs
impl Send for DiscussOpenArgs
impl Sync for DiscussOpenArgs
impl Unpin for DiscussOpenArgs
impl UnsafeUnpin for DiscussOpenArgs
impl UnwindSafe for DiscussOpenArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request