pub struct TermScopeArgs {
pub term_scope: Vec<String>,
pub term_scope_empty: bool,
}Expand description
Which private repositories a public boundary check derives its terms from.
Every verb that can write to a public destination takes it. Unset, the check
derives terms from every registered repository whose effective visibility is
private; --term-scope narrows that to the named identities, and
--term-scope-empty to none at all.
Fields§
§term_scope: Vec<String>Derive terms from this registered identity — repeatable. Unset, from every registered private repository.
term_scope_empty: boolDerive no terms at all: the work this writes names no private repository.
Implementations§
Trait Implementations§
Source§impl Args for TermScopeArgs
impl Args for TermScopeArgs
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 TermScopeArgs
impl Clone for TermScopeArgs
Source§impl Debug for TermScopeArgs
impl Debug for TermScopeArgs
Source§impl Default for TermScopeArgs
impl Default for TermScopeArgs
impl Eq for TermScopeArgs
Source§impl FromArgMatches for TermScopeArgs
impl FromArgMatches for TermScopeArgs
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 TermScopeArgs
impl PartialEq for TermScopeArgs
impl StructuralPartialEq for TermScopeArgs
Auto Trait Implementations§
impl Freeze for TermScopeArgs
impl RefUnwindSafe for TermScopeArgs
impl Send for TermScopeArgs
impl Sync for TermScopeArgs
impl Unpin for TermScopeArgs
impl UnsafeUnpin for TermScopeArgs
impl UnwindSafe for TermScopeArgs
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.