code: func getDatastoreFromPlacementHub(datastore []*DatastoreInfo, pbmPlacementHub pbmtypes.PbmPlacementHub) *DatastoreInfo {
  	for _, ds := range datastore {
  		if ds.Reference().Type == pbmPlacementHub.HubType && ds.Reference().Value == pbmPlacementHub.HubId {
  			return ds
  		}
  	}
  	return nil
  }
docs: // getDataStoreForPlacementHub returns matching datastore associated with given pbmPlacementHub