pub fn res_name(&self, name: &mut String) {
        *name = self.sec_key[self.depth]
            .to_owned()
            .split('/')
            .last()
            .unwrap()
            .to_string();
    }
/// strip resource name from full path
strip resource name from full path
strip resource name from full path
pub fn res_name(&self, name: &mut String) {
        *name = self.sec_key[self.depth]
            .to_owned()
            .split('/')
            .last()
            .unwrap()
            .to_string();
    }
pub fn res_name ( & self , name : & mut String ) { * name = self . sec_key [ self . depth ] . to_owned ( ) . split ( '/' ) . last ( ) . unwrap ( ) . to_string ( ) ; }
strip resource name from full path
strip resource name from full path
&self
name
&mut String
&self
name
&mut String