Function junobuild_shared::controllers::set_controllers
source · pub fn set_controllers(
new_controllers: &[UserId],
controller_data: &SetController,
controllers: &mut Controllers,
)Expand description
Sets or updates controllers with specified data.
§Arguments
new_controllers: Slice ofUserIdfor the controllers to be set or updated.controller_data:SetControllerdata to apply to the controllers.controllers: Mutable reference to the current set of controllers to update.