/// Set all node providers to the principal `node_operator`.
Set all node providers to the principal `node_operator`.
Set all node providers to the principal ` node_operator ` .
pub fn with_initial_node_operator(mut self, node_operator: PrincipalId) -> Self {
        for (_, sc) in self.subnets.iter_mut() {
            for (_, nc) in sc.membership.iter_mut() {
                nc.node_operator_principal_id = Some(node_operator);
            }
        }
        for (_, nc) in self.unassigned_nodes.iter_mut() {
            nc.node_operator_principal_id = Some(node_operator);
        }
        self
    }
pub fn with_initial_node_operator ( mut self , node_operator : PrincipalId ) -> Self { for ( _ , sc ) in self . subnets . iter_mut ( ) { for ( _ , nc ) in sc . membership . iter_mut ( ) { nc . node_operator_principal_id = Some ( node_operator ) ; } } for ( _ , nc ) in self . unassigned_nodes . iter_mut ( ) { nc . node_operator_principal_id = Some ( node_operator ) ; } self }
Set all node providers to the principal `node_operator`.
Set all node providers to the principal ` node_operator ` .
mut self
node_operator
PrincipalId