pub fn new<'a>(resource: Resource, actions: impl IntoIterator<Item = &'a Action>) -> Scope {
        Scope {
            actions: actions.into_iter().cloned().collect(),
            resource,
        }
    }
/// Create a new scope given a `resource` and a set of `actions`
Create a new scope given a `resource` and a set of `actions`
Create a new scope given a ` resource ` and a set of ` actions `
pub fn new<'a>(resource: Resource, actions: impl IntoIterator<Item = &'a Action>) -> Scope {
        Scope {
            actions: actions.into_iter().cloned().collect(),
            resource,
        }
    }
pub fn new < ' a > ( resource : Resource , actions : impl IntoIterator < Item = & ' a Action > ) -> Scope { Scope { actions : actions . into_iter ( ) . cloned ( ) . collect ( ) , resource , } }
Create a new scope given a `resource` and a set of `actions`
Create a new scope given a ` resource ` and a set of ` actions `
resource
Resource
actions
impl IntoIterator<Item = &'a Action>
resource
Resource
actions
impl IntoIterator<Item = &'a Action>