pub struct RoleBinding {
pub role: Role,
pub scope: RoleScope,
}Expand description
An authorization role paired with the scope at which it is valid.
Fields§
§role: RoleThe role being granted.
scope: RoleScopeThe org scope over which this binding applies.
Trait Implementations§
Source§impl Clone for RoleBinding
impl Clone for RoleBinding
Source§fn clone(&self) -> RoleBinding
fn clone(&self) -> RoleBinding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoleBinding
impl Debug for RoleBinding
Source§impl<'de> Deserialize<'de> for RoleBinding
impl<'de> Deserialize<'de> for RoleBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for RoleBinding
impl Hash for RoleBinding
Source§impl PartialEq for RoleBinding
impl PartialEq for RoleBinding
Source§impl Serialize for RoleBinding
impl Serialize for RoleBinding
impl Eq for RoleBinding
impl StructuralPartialEq for RoleBinding
Auto Trait Implementations§
impl Freeze for RoleBinding
impl RefUnwindSafe for RoleBinding
impl Send for RoleBinding
impl Sync for RoleBinding
impl Unpin for RoleBinding
impl UnsafeUnpin for RoleBinding
impl UnwindSafe for RoleBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more