Struct cedar_policy_cli::AuthorizeArgs
source · pub struct AuthorizeArgs {
pub request: RequestArgs,
pub policies_file: String,
pub template_linked_file: Option<String>,
pub schema_file: Option<String>,
pub entities_file: String,
pub verbose: bool,
pub timing: bool,
}Fields§
§request: RequestArgsRequest args (incorporated by reference)
policies_file: StringFile containing the static Cedar policies and templates to evaluate against
template_linked_file: Option<String>File containing template linked policies
schema_file: Option<String>File containing schema information Used to populate the store with action entities and for schema-based parsing of entity hierarchy, if present
entities_file: StringFile containing JSON representation of the Cedar entity hierarchy
verbose: boolMore verbose output. (For instance, indicate which policies applied to the request, if any.)
timing: boolTime authorization and report timing information
Trait Implementations§
source§impl Args for AuthorizeArgs
impl Args for AuthorizeArgs
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentssource§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
source§impl Debug for AuthorizeArgs
impl Debug for AuthorizeArgs
source§impl FromArgMatches for AuthorizeArgs
impl FromArgMatches for AuthorizeArgs
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 RefUnwindSafe for AuthorizeArgs
impl Send for AuthorizeArgs
impl Sync for AuthorizeArgs
impl Unpin for AuthorizeArgs
impl UnwindSafe for AuthorizeArgs
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