pub trait RoleBindingExt: ResourceBuilder {
    // Required methods
    fn new<T>(name: impl ToString, role: &T) -> Self
       where T: IsRole;
    fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> Self;
}

Required Methods§

source

fn new<T>(name: impl ToString, role: &T) -> Self
where T: IsRole,

source

fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> Self

Object Safety§

This trait is not object safe.

Implementors§