pub struct AttachedRoleAssignment(pub NodeId);Tuple Fields§
§0: NodeIdTrait Implementations§
Source§impl RoleAssignmentObject for AttachedRoleAssignment
impl RoleAssignmentObject for AttachedRoleAssignment
fn self_id(&self) -> (&NodeId, Option<AttachedModuleId>)
fn set_owner_role<Y: SystemApi<E>, E: SystemApiError, A: Into<AccessRule>>( &self, rule: A, api: &mut Y, ) -> Result<(), E>
fn lock_owner_role<Y: SystemApi<E>, E: SystemApiError>( &self, api: &mut Y, ) -> Result<(), E>
fn set_role<Y: SystemApi<E>, E: SystemApiError, R: Into<RoleKey>, A: Into<AccessRule>>( &self, module: ModuleId, role_key: R, rule: A, api: &mut Y, ) -> Result<(), E>
fn get_role<Y: SystemApi<E>, E: SystemApiError, R: Into<RoleKey>>( &self, module: ModuleId, role_key: R, api: &mut Y, ) -> Result<RoleAssignmentGetOutput, E>
fn get_owner_role<Y: SystemApi<E>, E: SystemApiError, R: Into<RoleKey>>( &self, api: &mut Y, ) -> Result<RoleAssignmentGetOwnerRoleOutput, E>
Auto Trait Implementations§
impl Freeze for AttachedRoleAssignment
impl RefUnwindSafe for AttachedRoleAssignment
impl Send for AttachedRoleAssignment
impl Sync for AttachedRoleAssignment
impl Unpin for AttachedRoleAssignment
impl UnsafeUnpin for AttachedRoleAssignment
impl UnwindSafe for AttachedRoleAssignment
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