Trait k8s_openapi_ext::RoleBindingExt
source · pub trait RoleBindingExt: ResourceBuilder {
// Required methods
fn new<T: IsRole>(name: impl ToString, role: &T) -> Self;
fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> Self;
}
Required Methods§
fn new<T: IsRole>(name: impl ToString, role: &T) -> Self
fn subjects(self, subjects: impl IntoIterator<Item = Subject>) -> Self
Object Safety§
This trait is not object safe.