pub fn dump(&self) -> (Vec<Fact>, Vec<Rule>, Vec<Check>, Vec<Policy>) {
        let mut checks = self.checks.clone();
        checks.extend(
            self.token_checks
                .iter()
                .flatten()
                .map(|c| Check::convert_from(c, &self.symbols)),
        );

        (
            self.world
                .facts
                .iter()
                .map(|f| Fact::convert_from(f, &self.symbols))
                .collect(),
            self.world
                .rules
                .iter()
                .map(|r| Rule::convert_from(r, &self.symbols))
                .collect(),
            checks,
            self.policies.clone(),
        )
    }
/// returns all of the data loaded in the authorizer
returns all of the data loaded in the authorizer
returns all of the data loaded in the authorizer
pub fn dump(&self) -> (Vec<Fact>, Vec<Rule>, Vec<Check>, Vec<Policy>) {
        let mut checks = self.checks.clone();
        checks.extend(
            self.token_checks
                .iter()
                .flatten()
                .map(|c| Check::convert_from(c, &self.symbols)),
        );
        (
            self.world
                .facts
                .iter()
                .map(|f| Fact::convert_from(f, &self.symbols))
                .collect(),
            self.world
                .rules
                .iter()
                .map(|r| Rule::convert_from(r, &self.symbols))
                .collect(),
            checks,
            self.policies.clone(),
        )
    }
pub fn dump ( & self ) -> ( Vec < Fact > , Vec < Rule > , Vec < Check > , Vec < Policy > ) { let mut checks = self . checks . clone ( ) ; checks . extend ( self . token_checks . iter ( ) . flatten ( ) . map ( | c | Check :: convert_from ( c , & self . symbols ) ) , ) ; ( self . world . facts . iter ( ) . map ( | f | Fact :: convert_from ( f , & self . symbols ) ) . collect ( ) , self . world . rules . iter ( ) . map ( | r | Rule :: convert_from ( r , & self . symbols ) ) . collect ( ) , checks , self . policies . clone ( ) , ) }
returns all of the data loaded in the authorizer
returns all of the data loaded in the authorizer
&self
&self